After king David's death, his son Solomon becomes king in his place. 1 Kings 2.
This shows God's faithfulness to His covenant promise to David (2 Samuel 7 verses 12 to 17)
Solomon acknowledges the LORD as the One who gives him the kingdom.
In a dream the LORD reveals Himself to Solomon and asks him what Solomon wants Him to give him. Solomon asks for an attentive heart, to be able to judge the people and to distinguish between good and evil. 1 Kings 3 verse 9.
God gives him a wise and understanding heart and also promises to give him wealth and honor.
Solomon's wisdom is immediately tested.
Two whores come to him and present him with a case in which he must adjudicate. Both women gave birth to a child. One of them accidentally laid on her child, causing him to suffocate. However, she secretly switched her child with the living child of the other woman. Both women now say: 'The living one is my son!'.
When the king orders the living child to be cut in two, and one half given to each woman, the real mother begs the king not to kill the child under any circumstances, but to give it to the other woman. The other woman says, “Cut it in half!”
This moment is depicted in the painting.
The king then says, “On no account kill it!” and returns the child to its mother.
The wise statement in this matter makes one respect Solomon; “all the people saw that the wisdom of God was in him.”
Solomon's great wisdom is described in 1 Kings 4 verses 29 to 34.
He is mentioned as the author of the Bible books, Proverbs, Ecclesiastes and Song of Songs.
In Matthew 12 verse 42 Jesus says: 'A greater than Solomon is here'. He means Himself.
Solomon was a prefiguration of the Messiah, Jesus. But Solomon would later fall into folly when he allowed himself to be seduced into idolatry by his many wives.
In King Jesus, divine wisdom and justice dwell forever, as can be seen from the following texts:
Luke 1 verse 32 'He will be great and will be called the Son of the Most High. And the Lord God will give to him the throne of his father David, 33 and he will reign over the house of Jacob forever, and of his kingdom there will be no end.'
Isaiah 11 verse 2 'And the Spirit of the Lord shall rest upon him,
the Spirit of wisdom and understanding,
the Spirit of counsel and might,
the Spirit of knowledge and the fear of the Lord'.
Proverbs 8 verse 14,15 'I have counsel and sound wisdom;
I have insight; I have strength.
By me kings reign,
and rulers decree what is just'
Isaiah 42 verse 3, 4
he will faithfully bring forth justice.
He will not grow faint or be discouraged
till he has established justice in the earth;
Jeremiah 17 verse 10 'I the Lord search the heart
and test the mind,
to give every man according to his ways,
according to the fruit of his deeds.”
2 Corinthians 5 verse 10 'For we must all appear before the judgment seat of Christ, so that each one may receive what is due for what he has done in the body, whether good or evil'.
Acts 10 verse 42 ‘And he commanded us to preach to the people and to testify that he is the one appointed by God to be judge of the living and the dead. To him all the prophets bear witness that everyone who believes in him receives forgiveness of sins through his name.”
Believers may share in His wisdom:
1 Corinthians 1 verse 30 'And because of him you are in Christ Jesus, who became to us wisdom from God, righteousness and sanctification and redemption',
Ephesians 1 verse 17 'that the God of our Lord Jesus Christ, the Father of glory, may give you the Spirit of wisdom and of revelation in the knowledge of him, 18 having the eyes of your hearts enlightened, that you may know what is the hope to which he has called you, what are the riches of his glorious inheritance in the saints'.
Luke 21 verse 14 'Settle it therefore in your minds not to meditate beforehand how to answer, 15 for I will give you a mouth and wisdom, which none of your adversaries will be able to withstand or contradict.'
Acts 6 verse 10 'But they could not withstand the wisdom and the Spirit with which he (Stephen) was speaking'.
Revelation 19 verse 1 'After this I heard what seemed to be the loud voice of a great multitude in heaven, crying out,
“Hallelujah!
Salvation and glory and power belong to our God,
for his judgments are true and just'