Yahweh was an ancient Semitic deity of weather and war in the southeastern ancient Levant, and the national god of the iron age kingdoms of Israel and Judah. Although there is no clear consensus regarding the geographical origins of the deity, scholars generally hold that Yahweh was associated with Seir, Edom, Paran, and Teman, and later with Canaan. The worship of the deity goes back to at least the early Iron Age and apparently to the late Bronze Age.
In the oldest biblical texts, Yahweh possesses attributes that were typically ascribed to deities of weather and war, fructifying the Land of Israel and leading a heavenly army against the enemies of the Israelites. The early Israelites engaged in polytheistic practices that were common across ancient Semitic religion, because the Israelite religion was a derivative of the Canaanite religion and included a variety of deities from it, including El, Asherah, and Baal. Initially a lesser deity among the Canaanite pantheon, Yahweh became conflated with El in later centuries, taking his place as the head of the pantheon in the Israelite religion. El's consort Asherah became associated with Yahweh, and El-linked epithets, such as ʾĒl Šadday (אֵל שַׁדַּי), came to be applied to him alone. Characteristics of other deities, such as Asherah and Baal, were also selectively absorbed in conceptions of Yahweh.