Hannah passed on more to her son than just correct theology and right information about the Lord. She passionately and publicly praised the works of the Lord in ways he could witness.
Here’s part of that prayer:
The Lord makes poor and makes rich; he brings low and he exalts. He raises up the poor from the dust; he lifts the needy from the ash heap to make them sit with princes and inherit a seat of honor. For the pillars of the earth are the Lord‘s, and on them he has set the world. (1 Samuel 2:7-8)