The Literal Commandment
You shall teach them diligently to your sons and shall talk of them when you sit in your house and when you walk by the way and when you lie down and when you rise up. (Deuteronomy 6:7)
The literal commandment is that we should teach G-d's commandments diligently to our children. However, in order to be able to teach the commandments we have to learn them first.