27 Then the king gave his ruling: “Give the living baby to the first woman. Do not kill him; she is his mother.”

Read 1 Kings 3:27 Using Other Translations

Then the king answered and said, Give her the living child, and in no wise slay it: she is the mother thereof.
Then the king answered and said, "Give the living child to the first woman, and by no means put him to death; she is his mother."
Then the king said, “Do not kill the child, but give him to the woman who wants him to live, for she is his mother!”