The statement is this:
If $x$ is a positive integer so that $\forall y\in\Bbb Z$, $x|y$, then $x=1$.
So the solution given says take $y=1$. Then $x|1$, and then ended up saying then $xk=1$ for some integer $k$, and since $x$ is positive, $k$ is also positive. So that means that $xk\geq x$ which implies $x=1$ since x is positive.
So what if we take $y=2$?? Well, I mean, sure it works if $x=1$, but what about $y=3$? $y=15$??? We can list an infinite amount of $y$s, so why does just stating one possible $y$ complete this proof?
The assumption is that the condition holds for ALL $y$ in $\mathbb{Z}$, so it certainly holds if $y$ happens to be $1$.