"Wisdom, Knowledge, Understanding, Righteousness...:Where does it come from?"
Proverbs/Mashalim 2:1-8- https://rstne.com/pages/proverbs-mishle#chapter-2
2 My son, if you will receive my words and hide my commandments with you;
2 So that you incline your ear to chochmah and apply your lev to binah;
3 Yes, if you shout out for da’at and lift up your voice for binah;
4 If you seek her as silver and search for her as for hidden treasures;
5 Then shall you understand the fear of Yahuah and find the da’at of AhlohaYam.
6 For Yahuah gives chochmah: out of His mouth comes da’at and binah.
7 He lays up sound chochmah for the tzadik: He is a shield to them that have an upright halacha.
8 He guards the paths of mishpat and preserves the derech of His kidushim.