Ancient Near East Myths had their Gods usually battle against the forces of chaos, the primordial muck and the sea. (i.e. Tiamat in the Enuma Elish. Leviathan, etc.)
To what extent did the OT adopt this imagery in order to show that Jehovah was supreme over all?
Did the OT use demonic imagery from the ancient near east to show God's superiority over these demons?
Did the writers use the beliefs about certain demons that were believed to be true by their pagan neighbors and weave them into the OT canon to show that Jehovah was stronger?
And if so, does this mean that the OT confirms that these were true demons (i.e. some demon that resembled Tiamat existed, or Lilith in Isaiah 34:14, or Hairy goat demons in Isaiah 34:14 and 13:21)?