John Gill's Exposition of the Whole Bible
Proverbs 2:4
If thou seekest her as silver,.... That is, wisdom, knowledge, and understanding; which all signify and relate unto one and the same thing, expressed here by "her": namely, the doctrine of wisdom, or Christ; that is, the Gospel, and a spiritual and experimental knowledge and understanding of it, and the truths thereof; which are as desirable and valuable as silver, and more so; and which may be fitly compared to it, and be preferred before it, for their purity, solidity, and duration; see Psalms 119:72; and are to be sought after with as much and more eagerness, affection, and diligence, as silver is by those who are most covetous of it, Proverbs 8:10;
and searchest for her as [for] hid treasures; the Gospel is a treasure, 2 Corinthians 4:7; an accumulation of riches. It contains rich truths, things valuable for their antiquity; for being far fetched and dearly bought, coming from heaven, and sealed by the blood of Christ, and the holy martyrs of Jesus; and for the abundance of them; there are treasures of wisdom and knowledge in the Gospel, and in Christ the sum and substance of it, who is full of truth as well as grace, 1 Thessalonians 2:3. It contains rich blessings of grace, such as are spiritual, solid, and substantial, sure and irreversible; and a multitude of them, Romans 15:29; and also rich promises, exceeding great and precious ones; which are absolute and unconditional, suited to the various cases of God's people, and sure to all the seed: and it reveals the riches of God's goodness, his special goodness in Christ; the unsearchable riches of Christ; and the riches both of grace and glory. And under this notion of a treasure is it to be searched for, and as an hid treasure; in allusion to what is laid up in the cabinets of princes, or lies in the bowels of the earth, as precious stones: Pliny m says, that "topazin", in the language of the Troglodytes, has the signification of seeking, because "topazes" are diligently sought for and searched after; Job 28:19. The Gospel, and the truths of it, were greatly hid under the former dispensation from the Gentile world, and very much from the Jews themselves; being wrapped up in dark prophecies, obscure hints, and shadowy types and sacrifices; and are now, and always were, entirely hid from the wicked and reprobate part of the world, from them that are lost, and from God's own elect before conversion. This is "the fellowship of the mystery" that was "hid in God", in his heart, from all eternity, Ephesians 3:9: the truths of it are the "treasures of wisdom and knowledge hid" in Christ, 1 Thessalonians 2:3; and likewise the "treasure hid [in the] field" of the Scriptures,
Matthew 22:44; which therefore are to be searched into for them, with like labour and resolution with which men dig into the earth, to find the rich ore that is in the bowels of it: and this should be done by diligent reading them; by frequent and deep meditation on them; by constant hearing the truths of the Gospel preached; by earnest prayer for the illumination of the divine Spirit to understand them; and by all the help of the writings of good men, and conversation with them, that can be had. These are things to be sought for and searched after, in the first place, in the early time of life; and with the utmost diligence and labour, as being of the greatest moment and importance.
m Nat. Hist. l. 37. c. 8.