What does 1 Kings 5:3 mean?
You know my father David couldn't build a temple for the Lord his God because of all the wars he had to fight. The Lord kept his enemies away until the end of his life. 1 Kings 5:3 - Modern Text Bible
(Solomon explains why David didn't build the temple—he was too busy with wars and conflict.)