\(\frac{x^2+y^2+z^2}{\left(y-z\right)^2+\left(z-x\right)^2+\left(x-y\right)^2}\)
\(=\frac{\left(x+y+z\right)^2-2\left(xy+yz+xz\right)}{2x^2+2y^2+2z^2-2xy+2yz+2xz}\)
\(=\frac{-2\left(xy+yz+xz\right)}{2\left(x+y+z\right)^2-6\left(xy+yz+xz\right)}\)
\(=-\frac{1}{3}\)