\(x^2+y^2+z^2=2\left(x+y+z\right)-3\)
\(\Leftrightarrow\left(x^2-2x+1\right)+\left(y^2-2y+1\right)+\left(z^2-2z+1\right)=0\)
\(\Leftrightarrow\left(x-1\right)^2+\left(y-1\right)^2+\left(z-1\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}x-1=0\\y-1=0\\z-1=0\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x=1\\y=1\\z=1\end{matrix}\right.\)