A sequence $(X_n)_{n\in\mathbb{N}}$ is said to converge to $X$ in the almost sure convergence sense if $\lim_{n\rightarrow\infty} X_n \rightarrow X$ on a set with probability $1$.
Then I proceed like below
\begin{align}\lim_{n\rightarrow\infty} X_n &\rightarrow X \hspace{4mm} \text{a.s.} \\ \lim_{n\rightarrow\infty} X_n - X &\rightarrow 0 \hspace{5mm} \text{a.s.} \\ \lim_{n\rightarrow\infty} \mathbb{E}[(X_n-X)^2] &\rightarrow 0 \hspace{5mm} \text{a.s.} \end{align}
However this is not true as almost sure convergence $\;\not\!\!\!\implies$ mean squared convergence. Where is the flaw in these steps? Please excuse me if this doubt is silly.