Solomon became king after his father David. He made an alliance with Egypt by marrying the Pharaoh's daughter, which some think was a mistake. Solomon loved God but sacrificed at high places instead of the temple, displeasing God. God appeared to Solomon and told him to ask for anything. Humble Solomon only asked for wisdom to lead God's people well. Pleased by his selfless request, God gave Solomon great wisdom and understanding, as well as riches and honor.