A passage in 1 Kings claims that all of Israel had peace and safety on all sides during Solomon’s lifetime. (Perhaps because Solomon ruled over a lot of the surrounding nations, in addition to Israel.)
But later in 1 Kings, it says Solomon had foreign adversaries, including a man named Rezon. Rezon had been a conqueror since Solomon’s father was still king of Israel. Rezon was hostile toward Israel, and was Israel’s adversary as long as Solomon lived.
And in the version of Solomon’s story in 2 Chronicles, when God asks Solomon to pick something for God to give him, God is pleasantly surprised that Solomon doesn’t ask for the death of his enemies. What enemies? Why would God expect him to say that, if Solomon never had any enemies?