Rebellion to authority is the issue. After discipline, express forgiveness to the child. Obedience has to do with outlook. Parents are to encourage their children. Ephesians warns against discouraging our children.
Discouragement means to lose heart.
It is important to give the child a sense of belonging, worth and confidence. They need to understand their needs and fears. Children need supervision and help. This is the only occurrence of this word in the New Testament. One of the reasons for rebellion in some teenagers is that they are discouraged by most of things they have done in life.