Original sentence: According to these scholars, even while resisting pagan worship, the Jews willingly absorbed elements of pagan mythology.It survived in the myth of Yahweh's battle with Leviathan and in the evolution of Satan from God's deputy (assigned to be humanity's "accuser") into a somewhat independent being struggling against God.Jewish mythology may have absorbed the "combat myth" motif of Near Eastern paganism.Some comparative mythologists think Jewish mythology absorbed elements from pagan mythology.This mytheme, common in the Near Eastern mythology (for instance, in the Babylonian Enuma Elish), describes the struggle for supremacy between a god and a monster.Whether or not Judaism actually absorbed ideas from paganism, Jewish myths contain similarities to myths of other cultures
Edited sentence: Even while resisting pagan worship, the Jews willingly absorbed elements of pagan mythology when it served their religious ends.It survived in the myth of Yahweh's battle with Leviathan and in the evolution of Satan from God's deputy (assigned to be humanity's "accuser") into a somewhat independent being battling God.Jewish mythology may have absorbed the "combat myth" motif from Near Eastern paganism.This mytheme, common in the Near Eastern mythology (for instance, in the Babylonian Enuma Elish), describes battles for supremacy between a god and a monster