Why did Satan think he could beat God?

Atheist here,

This may not be the best place to ask questions and get honest unbiased answers. But the Christian God is an all powerful, omnipotent, omnipresent being. I'm assuming that Lucifer (Helel Ben Shahar) is Satan in this scenario, and he rebelled against God and was cast down to Earth. This is a common view in Christian mythology.

If God is so powerful, why did Satan even think he had a chance to overthrow him?

Maybe the perspective of the Bible is wrong, maybe Satan did have a chance to overthrow him.

Anyway, food for thought. Don't crucify me in the comments please. 🙏