As we learn to obey our parents, we realize that there are reason behind the rules set.
Godly parents only want what is best for their children. Children who learn to be obedient at home also learn to be obedient to others in authority, such as teachers, and law enforcement officers. They become good citizens. This is all part of God's plan.