Satan is actually an Enemy of God
But the Truth is that, the popular belief is wrong. The word "Satan" means Opposer, And "Devil" means Slanderer. Such person cannot be working for God who is Holy, Holy, Holy.
It doesn't make any sense.