\(x^3+y^3+z^3-3xyz=\left(x+y\right)^3+z^3-3xyz-3x^2y-3xy^2\)
\(=\left(x+y+z\right)\left[\left(x+y\right)^2-\left(x+y\right)z+z^2\right]-3xy\left(x+y+z\right)\)
\(=\left(x+y+z\right)\left[\left(x+y\right)^2-\left(x+y\right)z+z^2-3xy\right]\)
\(=0\)
\(\Rightarrow x^3+y^3+z^3=3xyz\)