Exodus 7:11: “But Pharaoh also called the wise men and the sorcerers; so the magicians of Egypt, they also did in like manner with their enchantments.”
What Satan does is counterfeit what God tells us to do. There was God giving Moses the power to perform signs and wonders in front of the people, but Satan empowered the magicians to do the same.
It matters, then, not only whether what we do is right or wrong but also who tells us (or empowers us) to do that.
Is God asking you to do something that you don’t want to do? He will provide for you, if it’s His will for you to do it. Philippians 4:19: “And my God shall supply all your need according to His riches in glory by Christ Jesus.”