After King David died, his son Solomon became king. God asked what he wanted. Solomon asked for wisdom to rule well, not riches. God was pleased and gave him wisdom, riches and honour. Two women came to him both claiming one baby; Solomon's wise judgement revealed the real mother. Solomon built the temple in Jerusalem.