to educate or guide a child so that they develop good habits and character
"They tried to train their children up to be independent and kind."
Train up a child in the way he should go: and when he is old, he will not depart from it.
— Proverbs 22:6, King James Bible