Apologies for my title. I couldn't get all the info in without running out of room. Feel free to edit. I'm just looking for verification of my proof. This problem is from some study materials I am working through, and my solution feels a little too easy. I will state the problem verbatim below, and also provide an answer for critiquing. If it has flaws, I will delete my answer. Others can feel free to answer either way.
Problem: Let $\{x_n\}$ be a sequence in a complete metric space $(X,d)$ and for every $\varepsilon>0$ there exists a convergent sequence $\{y_n\}$ such that $\sup_nd(x_n,y_n)<\varepsilon$. Prove that then $\{x_n\}$ converges.
Here is the answer I came up with:
Let $\varepsilon>0$ be given. Chose a sequence $\{y_n\}$ such that $y_n\to y$ for some $y\in X$ and $\sup_{n\in\mathbb{N}}d(x_n,y_n)<\frac{\varepsilon}{2}$. Such a sequence exists by hypothesis. Since $y_n\to y$, there exists $N\in\mathbb{N}$ such that $\forall n\geq N$, $\;d(y_n,y)<\frac{\varepsilon}{2}$. Then, $\forall n\geq N$, we have by the triangle inequality that:
$$d(x_n,y)\leq d(x_n,y_n)+d(y_n,y)<\frac{\varepsilon}{2}+\frac{\varepsilon}{2}=\varepsilon,$$
and since $X$ is complete, we have that $x_n\to y$, and $\{x_n\}$ is convergent in $(X,d)$.