1 After the king was settled in his palace and the LORD had given him rest from all his enemies around him,