Jealous God

Better know which god you are worshipping. Satan can do everything that the LORD can do. give you dreams, give you signs, control the wind, make fire come from the heavens, and place thoughts inside of your head.

If you are doing good works just to try to enter the kingdom of heaven once you die, I doubt you will be able to. You must want to do good works truly in your heart.