1 Kings 3:1-5 King James Version (KJV)
3 And Solomon made affinity with Pharaoh king of Egypt, and took Pharaoh's daughter, and brought her into the city of David, until he had made an end of building his own house, and the house of the Lord, and the wall of Jerusalem round about.
2 Only the people sacrificed in high places, because there was no house built unto the name of the Lord, until those days.
3 And Solomon loved the Lord, walking in the statutes of David his father: only he sacrificed and burnt incense in high places.
4 And the king went to Gibeon to sacrifice there; for that was the great high place: a thousand burnt offerings did Solomon offer upon that altar.
5 In Gibeon the Lord appeared to Solomon in a dream by night: and God said, Ask what I shall give thee.
1 Kings 3:17-27 King James Version (KJV)
17 And the one woman said, O my lord, I and this woman dwell in one house; and I was delivered of a child with her in the house.
18 And it came to pass the third day after that I was delivered, that this woman was delivered also: and we were together; there was no stranger with us in the house, save we two in the house.
19 And this woman's child died in the night; because she overlaid it.
20 And she arose at midnight, and took my son from beside me, while thine handmaid slept, and laid it in her bosom, and laid her dead child in my bosom.
21 And when I rose in the morning to give my child suck, behold, it was dead: but when I had considered it in the morning, behold, it was not my son, which I did bear.
22 And the other woman said, Nay; but the living is my son, and the dead is thy son. And this said, No; but the dead is thy son, and the living is my son. Thus they spake before the king.
23 Then said the king, The one saith, This is my son that liveth, and thy son is the dead: and the other saith, Nay; but thy son is the dead, and my son is the living.
24 And the king said, Bring me a sword. And they brought a sword before the king.
25 And the king said, Divide the living child in two, and give half to the one, and half to the other.
26 Then spake the woman whose the living child was unto the king, for her bowels yearned upon her son, and she said, O my lord, give her the living child, and in no wise slay it. But the other said, Let it be neither mine nor thine, but divide it.
27 Then the king answered and said, Give her the living child, and in no wise slay it: she is the mother thereof.