No one can take advantage of his own wrong.

(Enacted 1872.)