“If you do X, I will give you Y”
Offering a child a small treat (whatever it may be) might seem unobjectionable, because parent/carer and child both ‘win’. But what’s really happening here is that you’re implicitly teaching them that if they want something that seems appealing, to get it they will have to do things they don’t want to do. You’re essentially supporting a pattern of exchanging one’s happiness/dignity/ethical standards/morals for some prize.