Solomon is the king that will finally bring peace to Israel. God loves peace. He only goes into battle to free his people from their enemies, and he only uses violence to free his people from the enemies. When the mighty army of Egypt was drowned in the sea by God, Moses sings in Exodus 15:3, “The Lord is a man of war (a warrior); the Lord is his name.” Battle is necessary, but God does not like it. He wants peace. That is why he loves this boy who will be the king of peace.
24 Then David comforted his wife, Bathsheba, and went in to her and lay with her, and she bore a son, and he called his name Solomon. And the LORD loved him