Even though Yahweh, the God whom the Israelis worshiped, had appeared to Solomon two times, and had commanded him to not worship foreign gods, Solomon refused to obey Yahweh. So Yahweh was angry with Solomon,