"Here is what most parents never realize about parenting."
You can make a child understand you hate something.
So they won't do it in your presence.

Not because you taught them it's wrong.
But because they're scared of you

So You've just taught them to wait until you leave.