It is not something the Heavens bestow upon us at birth. It is taught every day from parents and caregivers who have standards about what is allowed and what is not, what the limits are for appropriate behavior. Parents are indeed the cornerstones of instilling the kind of morality that makes wrong behavior simply not an option for kids. The first is to create the context for moral growth. This is done through being a strong moral example on a daily basis.
Kids pick up on the smallest things, including conversations they overhear.
The influence parents have in their daily interactions is crucial. It is also important to develop a close, mutually respectful relationship with our kids. They may be small, but right from the beginning they deserve to be treated with respect. Be sure your kids are aware of your moral beliefs. Use daily examples in the world to reflect to your child your beliefs on issues.