1 Kings 3:10

preferring wisdom, obtains wisdom, riches, and honour.
Overview - 1 Kings 3
Solomon marries Pharaoh's daughter.
High places being in use, Solomon sacrifices at Gibeon.
Solomon at Gibeon, in the choice which God gave him,
16 Solomon's judgment makes him renowned.
Treasury of Scripture Knowledge

1 Kings 3:10  (King James Version)
And the speech pleased the Lord, that Solomon had asked this thing.

Proverbs 15:8