Suppose that the series $a_k^2$ is divergent, put $S_n=\sum_1^n a_k²$. Then $S_n \to +\infty$; hence we may suppose that $S_n>0$ for $n\geq 1$. Put $b_n=\frac{a_n}{S_n }$. Then as
$$b_n^2=\frac{S_{n}-S_{n-1}}{S_n^2}\leq \int_{S_{n-1}}^{S_n}\frac{dt}{t^2}$$ we see that the series $b_n^2$ is convergent. The hypothesis gives now that the series $u_n=\frac{a_n^2}{S_n}=\frac{S_n-S_{n-1}}{S_n}$ is convergent. Hence $u_n\to 0$, and $\frac{S_{n-1}}{S_n}\to 1$. This imply that $u_n$ is equivalent to $v_n=\frac{S_n-S_{n-1}}{S_{n-1}}$, and hence (the two series are positive) the series $v_n$ is convergent. But
$$v_n=\frac{S_n-S_{n-1}}{S_{n-1}}\geq \int_{S_{n-1}}^{S_n}\frac{dt}{t}$$
and this show that the series $v_n$ is divergent, a contradiction.