Satan is a mythical character in the fictitious stories in the bible.
He gets a bad rap, but consider this:
Except for when the god and Satan were indulged in a game of dare with Job’s family, the Satan character never did anything to hurt humans, (no, he was not the talking snake).
The god, on the other hand, cursed humans, snakes, and soil from the outset, then it drowned millions of men, women, children, fetuses, puppies, and kittens, it nuked two cities, had a man stoned to death just for working on Sunday. It ordered genocide to include killing children, (boys), and pregnant women and to take young virgins as sex slaves (Numbers 31), the god threatens everyone with eternal torture if you don’t worship it; but he loves you, right?
So who is really the bad guy?
BTW, Satan is part of the scare tactic to keep believers in line; ‘be good or the boogie man will get you.’