This instruction does not just pertain to bio mothers but all younger women toward the older women.
Proverbs 1:7-9 "The fear of the Lord is the beginning of knowledge; fools despise wisdom and instruction. Hear, my son, your father's instruction, and do not forsake your mother's teaching; indeed, they are a graceful wreath to your head, and ornaments about your neck."
Paul says in 2 Timothy 1:5,
"I am mindful of the sincere faith within you, which first dwelt in your grandmother Lois, and your mother Eunice, and I am sure that it is in you as well."
Then in 3:14–15 Paul says,
"You, however, continue in the things you have learned and become convinced of, knowing from whom you have learned them [that is, your mother Eunice and through her from your grandmother Lois]; and that from childhood you have known the holy scriptures [because your mother taught them to you] which are able to give you the wisdom that leads to salvation through faith which is in Christ Jesus."