It is in your interpretation (the proverbial "what came first, the hen or the egg")
Let's look at this differently....
In the beginning YHWH created the heavens and the earth and placed the man we know today in the Garden and say "rule under my rulership" - "have dominion".
Man said, "I believe there is a better way" and separated himself from God's rulership and then created his own image of God... as did the Canaanites. So the Canaanites perverted the image of God into Dagon, Baal et al.
God came to Abraham and said (Paraphrased) - let me get my Kingdom and who I AM back into operation.
Thus:
1 sam 5: "After the Philistines had captured the ark of God, they took it from Ebenezer to Ashdod.
2 Then they carried the ark into Dagon’s temple and set it beside Dagon.
3 When the people of Ashdod rose early the next day, there was Dagon, fallen on his face on the ground before the ark of the LORD!"
and
1 Kings 18:21 Elijah went before the people and said, “How long will you waver between two opinions? If the LORD is God, follow him; but if Baal is God, follow him.” But the people said nothing. ...
...36 At the time of sacrifice, the prophet Elijah stepped forward and prayed: “LORD, the God of Abraham, Isaac and Israel, let it be known today that you are God in Israel and that I am your servant and have done all these things at your command.
37 Answer me, LORD, answer me, so these people will know that you, LORD, are God, and that you are turning their hearts back again.”
38 Then the fire of the LORD fell and burned up the sacrifice, the wood, the stones and the soil, and also licked up the water in the trench.
39When all the people saw this, they fell prostrate and cried, “The LORD—he is God! The LORD—he is God!”
So the problem in your presentation is which came first... YHWH came first and then the gods of the Canaanites.