For the LORD giveth wisdom: out of his mouth cometh knowledge and understanding.
– Proverbs 2:6
The strenuous effort described in the opening verses of chapter 2 does not do away with the divine source of wisdom. Solomon never teaches us that we can obtain wisdom by human effort, quite the reverse. God gives wisdom. Wisdom belongs to God and can only be given by him (1 Corinthians 2:14). But God does give wisdom to those who ask of him in faith (James 1:5-6). Those who seek, find (Luke 11:9-10). We all lack wisdom naturally but if we go on lacking wisdom it is probably because we have not asked (James 4:2).