Learning to be righteous is a heart issue, not a rules memorized issue. If it feels wrong to their heart that has been shaped on righteousness, then it is probably wrong. But you need to talk to your children as they grow, about choices, trusting you, listening to God, living above reproach in a culture that is evil.