How do Christians know that they're right when they bring a child up in that faith?  

It's normal for parents to teach children their own values.  The trick is to be open to their choosing the polar opposite when they get to be teenagers.