3 “You know that because of the wars waged against my father David from all sides, he could not build a temple for the Name of the LORD his God until the LORD put his enemies under his feet.

Read 1 Kings 5:3 Using Other Translations

Thou knowest how that David my father could not build an house unto the name of the LORD his God for the wars which were about him on every side, until the LORD put them under the soles of his feet.
"You know that David my father could not build a house for the name of the LORD his God because of the warfare with which his enemies surrounded him, until the LORD put them under the soles of his feet.
“You know that my father, David, was not able to build a Temple to honor the name of the LORD his God because of the many wars waged against him by surrounding nations. He could not build until the LORD gave him victory over all his enemies.