To a large extent children learn what they live. This was a large concern for me when I started having children and when I turned to the Bible I didn't see many good examples to follow. Moses never circumcised his sons, David's children were a mess, and Abraham's propensity to play fast and loose with the truth was present in his lineage for multiple generations. Even Job was concerned for the condition of his children, Eli's sons were abominable, and Samuel's sons were unfit to lead.
Thankfully, we have the example of a loving Father who can and does