Some people don't think that is what they were writing:
https://www.fayobserver.com/entertainment/20170316/ruler-of-this-world-god-or-satan
Ruler of This World: God or Satan?
Many people are surprised by the evil in this world. Do you ever wonder, “If God is good or even exists, why is there so much pain and suffering? Why is it that bad things happen to me even when I work hard and try to be a good person?” I’ll tell you why. The Bible records that while God gave Adam authority over the world, Adam gave it over to Satan.
That’s right; Satan is the temporary ruler of this world:
“Satan, the ruler of this world, will be cast out.” (John 12:31)
“Jesus said, ‘The ruler of this world approaches. He has no power over me.’” (John 14:30)
“Satan, who is the god of this world, has blinded the minds of those who don’t believe the Gospel.” (2 Corinthians 4:4)
“We are not fighting against flesh-and-blood enemies, but against evil spiritual rulers and authorities, and against mighty powers in this dark world.” (Ephesians 6:12)
“We know that the world around us is under the control of the evil one.” (1 John 5:19) “Who can win this battle against the world? Only those who believe that Jesus is the Son of God.” (1 John 5:5)
God is using Satan’s rebellion to reveal the hearts of men and women. Those who put their faith in God’s salvation will be raised from death and live for eternity with him.
“Jesus gave his life for our sins, just as God our Father planned, in order to rescue us from this evil world in which we live.” (Galatians 1:4)
“The world offers only a craving for physical pleasure, a craving for everything we see, and pride in our achievements and possessions. These are not from the Father, but are from this world. And this world is fading away, along with everything that people crave. But anyone who does what pleases God will live forever.” (1 John 2:16-17)
Why do I say that Satan is the temporary ruler of this world? Because the Bible tells us that Satan’s end has already been determined: “The devil was thrown into the fiery lake of burning sulfur, joining the beast and the false prophet. There they will be tormented day and night forever and ever. This lake of fire is the second death. And anyone whose name was not found recorded in the Book of Life was thrown into the lake of fire.” (Revelation 20:10-15)
Rev. Dr. J. Robert Kretzu is pastor of Hope Mills United Methodist Church
Perhaps the Bible is saying that there is a good God somewhere, but the God of this world isn't it. When God, or the 'Lord', is present and doing things in our world in some passages it's possible that it's not the good one.
Here's where all this confusion comes from. Most Christians assume that the Bible makes sense, that it's cohesive, that while not written by a single author directly that a supreme being directed it to be written the way it is.
The truth is, and this is not controversial, the Bible is a collection of stories crammed together over thousands of years that were often completely unrelated. If it seems like the character of God shifts wildly over the course of the Bible its usually because its written about several different gods.
Most Christians can't handle this so they come up with a lot of stupid nonsense trying to reconcile all the contradictions.
I sometimes think that atheists are more interested in the Bible because once you see it's not a great holy book you realize it's a fantastic historical document. A lot of religious scholars are starting to see it this way.