1 Solomon made an alliance by marriage with Pharaoh, king of Egypt; he married Pharaoh's daughter. He brought her to the City of David until he could finish building his residence and the temple of the Lord and the wall around Jerusalem. 2 Now the people were offering sacrifices at the high places, because in those days a temple had not yet been built to honor the Lord. 3 Solomon demonstrated his loyalty to the Lord by following the practices of his father David, except that he offered sacrifices and burned incense on the high places.
4 The king went to Gibeon to offer sacrifices, for it had the most prominent of the high places. Solomon would offer up a thousand burnt sacrifices on the altar there. 5 One night in Gibeon the Lord appeared to Solomon in a dream. God said, "Tell me what I should give you."
6 Solomon replied, "You demonstrated great loyalty to your servant, my father David, as he served you faithfully, properly, and sincerely. You have maintained this great loyalty to this day by allowing his son to sit on his throne.
7 Now, O Lord my God, you have made your servant king in my father David's place, even though I am only a young man and am inexperienced. 8 Your servant stands among your chosen people; they are a great nation that is too numerous to count or number. 9 So give your servant a discerning mind so he can make judicial decisions for your people and distinguish right from wrong. Otherwise no one is able to make judicial decisions for this great nation of yours."
10 The Lord was pleased that Solomon made this request. 11 God said to him, "Because you asked for the ability to make wise judicial decisions, and not for long life, or riches, or vengeance on your enemies, 12 I grant your request, and give you a wise and discerning mind superior to that of anyone who has preceded or will succeed you. 13 Furthermore, I am giving you what you did not request -- riches and honor so that you will be the greatest king of your generation. 14 If you follow my instructions by obeying my rules and regulations, just as your father David did, then I will grant you long life."
15 Solomon then woke up and realized it was a dream. He went to Jerusalem, stood before the ark of the Lord's covenant, offered up burnt sacrifices, presented peace offerings, and held a feast for all his servants.
16 Then two prostitutes came to the king and stood before him. 17 One of the women said, "My master, this woman and I live in the same house. I had a baby while she was with me in the house. 18 Then three days after I had my baby, this woman also had a baby. We were alone; there was no one else in the house except the two of us. 19 This woman's child suffocated during the night when she rolled on top of him. 20 She got up in the middle of the night and took my son from my side, while your servant was sleeping. She put him in her arms, and put her dead son in my arms. 21 I got up in the morning to nurse my son, and there he was, dead! But when I examined him carefully in the morning, I realized it was not my baby."
22 The other woman said, "No! My son is alive; your son is dead!" But the first woman replied, "No, your son is dead; my son is alive." Each presented her case before the king.
23 The king said, "One says, 'My son is alive; your son is dead,' while the other says, 'No, your son is dead; my son is alive.'" 24 The king ordered, "Get me a sword!" So they placed a sword before the king. 25 The king then said, "Cut the living child in two, and give half to one and half to the other!"
26 The real mother spoke up to the king, for her motherly instincts were aroused. She said, "My master, give her the living child! Whatever you do, don't kill him!" But the other woman said, "Neither one of us will have him! Let them cut him in two!"
27 The king responded, "Give the first woman the living child; don't kill him. She is the mother." 28 When all Israel heard about the judicial decision which the king had rendered, they respected the king, for they realized that he possessed supernatural wisdom to make judicial decisions.