God gave Solomon wisdom and knowledge because he did not ask for riches, wealth, honor, the death of those who hated him nor long life for himself, but for God's help in ruling over his people.