Yahweh is the God of the Judeans.
Elohim was the God of the Israelites.
These are tribal Gods.
Satan, the God of truth, knowledge, and good, is another God, far older,,,
Eden, Genesis, etc, much of those stories were borrowed from the Sumerians, who also borrowed some before,,,