Why you think it was necessary for God to die?
There are many beings and things called "god" in the Bible, so we must be clear as to which "god" we are talking about. Satan is called the 'god' of this world. (2 Corinthians 4:4, “In whom the god of this world hath blinded the minds [...]