Proof (ratio test)
Suppose $l<1$. Pick $r\in(r,1)$. Then there exists $N$ such that $a_{n+1}/a_n < r$ for all $n\geq N$. Hence for all $n>N$, $$ a_n = \frac{a_n}{a_{n-1}} \frac{a_{n-1}}{a_{n-2}} \ldots \frac{a_{N+1}}{a_N} a_N < r^{n-N} a_N,$$ so $a_n < Kr^n$ with some constant $K$ independent of $n$. Since $\sum Kr^n$ converges, so does $\sum a_n$ by the comparison test.
Suppose $l>1$. Then there exists $N$ such that $a_{n+1}/a_n > 1$ and so $a_n > a_N > 0$ for all $n>N$. Since $a_n\not\to 0$, $\sum a_n$ diverges by the $n$-th term test.