The fifth commandment is in Exodus 20v12 and it says
Which means we must respect, love and (if we’re a child living in their house) obey our Mum and Dad. But why does God want us to do this?
It’s not just because if we don’t we’ll get in trouble.
It’s not because parents always get things right (they don’t).
It’s because God has given Mums and Dads the job of bringing us up, and especially bringing us up to know him. That’s why the command is accompanied with a promise:
The message of God’s love and promises for his people was to be passed down to the next generation through the teaching, example, discipline of your father and mother. So that if children were to ignore them, they would be ignoring Him.
This has some big implications for parents - for what they teach, how they discipline, what they want for their children, and how they organise life in their household. This is something the bible goes into in more detail elsewhere (Deuteronomy 6v4-9 for example). But this commandment emphasises the responsibility children have in all of this.