Israel and Judah inherited the religion of late first-millennium Canaan, and Canaanite religion in turn had its roots in the religion of second-millennium Ugarit. In the 2nd millennium, polytheism was expressed through the concepts of the divine council and the divine family.