“Listen, Israel: The Lord our God, the Lord is One. Love the Lord your God with all your heart, with all your soul, and with all your strength. These words that I am giving you today are to be in your heart. Repeat them to your children. Talk about them when you sit in your house and when you walk along the road, when you lie down and when you get up. Bind them as a sign on your hand and let them be a symbol on your forehead. Write them on the doorposts of your house and on your gates.”
Not giving children a moral compass could lead to a chaos. However, teaching apart from example also leads to tragedy.
This is not an argument for perfection rather its an argument for integrity.
As you grow, your life should reflect your stated beliefs and convictions more closely. Your children should be able to witness that growth and respect you for it.
Life is now and always has been an unmastered process. Talk to your children about the process so they will not be discouraged nor disappointed with your journey or there own.