Adults have experience, know right from wrong. They pass on knowledge
Their own knowledge is passed onto their kid, who believes everything their parents say, is right
Today, let's think about how children learn right from wrong. Little ones are actually hungry for our guidance. They trust us, the parents who care for them, to have their best interests at heart, so they trust what we say, and they will always, eventually, do what we do. Most of what children learn is from what we model.
So regardless of what you consciously teach them, your children will emerge from childhood with clear views on what you really value, and thus with a well developed value system that guides their actions.