Solomon was born and David died, so Solomon took over as king. Joah, who used to be the leader of David’s army, was killed at the alter for killing two other people wrongly. Solomon one night was visited in a dream by God and God offered him anything he could want as a test. Solomon told him that he wanted wisdom most of all, which pleased God, so not only did God give him great wisdom but he also gave him everything a king could possibly want in the way of riches. Two women brought a child to Solomon because they both wanted the child and both of them claimed the child as their own, so Solomon decided to have it cut in half, which led to the real mother being identified.