Let $A : X\to X$ be a bounded operator between Banach spaces and $K : X\to X$ be a compact operator. It is true that if $A(X) \subset K(X)$, then $A$ is also compact. In fact, it was already asked it here: Related.
The point is that some people argue on the comment section that there is a simple proof using open mapping Theorem, but I was not able to complete all the details. The possible proof would follow as:
Consider $A : X\to K(X)$ where $K(X)$ is endowed with the norm $$\|y\| = \inf\{\|x\| : Kx = y\}.$$
The first claim is that $K(X)$ is Banach with such norm. In fact, I made some progress on it, but could not finish: for instance, take $\{y_n\}$ a Cauchy sequence on $K(X)$ with this norm. The, the set $\{x_n\}$ of vectors that realize the norms of each $y_n$ is bounded, since $\{y_n\}$ is Cauchy. But $K$ is compact, which implies that $y_n$ has a convergent subsequence on the norm of $X$. But how can I guarantee that this sequence also converges on the norm I have defined? For instance, if $\{y_{n_k}\}$ is such subsequence, if somehow we could prove that the limit $y^*$ lies on the range of $K$, this would follow easily from the definition of $\|\cdot\|$. I could not finish.
The final step is: use that $K(X)$ is Banach with such norm to prove that $A(B) \subset cK(B)$ for some $c>0$ where $B$ is the unit ball on $X$. This would follow from the Open Mapping Theorem, however, $A$ as we defined is not surjective. How to proceed?