"The word of God is light and truth—a lamp to the feet and a light to the path. It is able to guide every step of the way to the city of God. For this reason, Satan has made desperate efforts to obscure the light, that men may not find and keep the path cast up for the ransomed of the Lord to walk in. CT 461.2"
"Thy word is a lamp unto my feet, and a light unto my path."
EGW directly quotes and applies Psalm 119:105.
"As the miner digs for the golden treasure in the earth, so earnestly, persistently, must we seek for the treasure of God's word. In daily study the verse-by-verse method is often most helpful. Let the student take one verse and concentrate his mind on ascertaining the thought that God has put into that verse for him, and then dwell upon the thought until it becomes his own. One passage thus studied until its significance becomes clear is of more value than the perusal of many chapters with no definite purpose in view and no positive instruction gained. CT 461.3"
"If thou seekest her as silver, and searchest for her as for hid treasures;"
Both passages encourage diligent searching for wisdom/treasure, with Proverbs 2:4 using the metaphor of mining for silver and EGW applying it to studying God's word.