One must not change his purpose to the injury of another.

(Enacted 1872.)