Unless it's a nokia 3310 and you're like really strong.
Kids pick up on this hypocrisy and it can backfire: https://en.wikipedia.org/wiki/Reactance_(psychology)
Autonomy is really important - being empowered to actually make the good decision.
It's a matter of respect imo, adults often have too little of it. The best teachers I had, had a lot of it.
Kids observe, if you tell a kid to be generous but you behave selfishly the kid will assume you're full of shit and ignore what you're saying. The opposite is also true. Talk is cheap, what you actually do is what matters.
I’ve seen recently a fair amount of car enthusiasts start buying into the walkable cities/public transit mantra, because a car enthusiast does not find city/suburban stop and go traffic to be the thing they’re enthusiastic about.