Let $\ell^2$ denote the space of square summable sequences of complex numbers. Let $L:\ell^2\to\ell^2$ be a linear operator with $\Vert L\Vert=1$ such that for all $x\in\ell^2\setminus\{0\}$, $\Vert L(x)\Vert_2<\Vert x\Vert_2$. Give an example of a compact operator with these properties or show that no such compact operator exists.
I thought of some bounded operators with the above properties and none of them were compact, so I feel like no such compact operator exists. Since $\Vert L\Vert=\sup_{\Vert x\Vert_2=1}\Vert L(x)\Vert_2=1$, there exists a sequence $x_n\in\ell^2$ such that $\Vert x_n\Vert_2=1$ for all $n$ and $\Vert L(x_n)\Vert_2\to 1$. My idea was to show that no subsequence of $L(x_n)$ converges (as that tended to be the case in the examples I thought of) which would show that the image of the closed unit ball is not contained in any compact set and hence, $L$ is not compact. But I'm not sure whether that is actually true, and if it is true, I'm not sure how to prove it.