ukr.vitalinguist — How to say it in authentic Ukrainian

know better than to do
B2 verb — know better (than to do sth)

to have the intelligence or judgment not to do something