24 And the king said, "Bring me a sword." So a sword was brought 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 the woman whose son was alive said to the king, because her heart yearned for her son, "Oh, my lord, give her the living child, and by no means put him to death." But the other said, "He shall be neither mine nor yours; divide him." 27 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." 28 And all Israel heard of the judgment that the king had rendered, and they stood in awe of the king, because they perceived that the wisdom of God was in him to do justice.

Matthew Henry's Commentary on 1 Kings 3:24-28

Commentary on 1 Kings 3:16-28

(Read 1 Kings 3:16-28)

An instance of Solomon's wisdom is given. Notice the difficulty of the case. To find out the true mother, he could not try which the child loved best, and therefore tried which loved the child best: the mother's sincerity will be tried, when the child is in danger. Let parents show their love to their children, especially by taking care of their souls, and snatching them as brands out of the burning. By this and other instances of the wisdom with which God endued him, Solomon had great reputation among his people. This was better to him than weapons of war; for this he was both feared and loved.