After King David began to live in his palace, Yahweh protected him from all his enemies.
Read & study T4T 7:1And it came to pass, when the king dwelt in his house, and Jehovah had given him rest from all his enemies round about,
Read & study ASV 7:1