Now it happened that, when the king had settled in his house, and the Lord had given him rest on every side from all his enemies,