"As for Mary, she treasured all these things and pondered them in her heart" (Luke 2:19)
And how, ever since you were a child, you have known the Holy Scriptures, which are able to give you the Wisdom that leads to salvation, through faith in Christ Jesus. (2Timothy 3:15)
If we need true wisdom, we need to search for it thoroughly by studying the Scriptures. The Scriptures are the Words of God, Who is the source of all Wisdom. We need this true wisdom that comes from the Holy Scriptures, to avoid being misled by our own notions. (Wisdom 6:9,11; Sirach 3:24)