know better

US /noʊ ˈbɛtər/
UK /noʊ ˈbɛtər/
"know better" picture
1.

to be wise or experienced enough not to do something stupid or wrong

:
You should know better than to talk to strangers.
She's old enough to know better than to lie.