When we are going through difficult or uncomfortable times we tend to make prayers of rebuke against satan and his demons and sometimes we even see that none of this serves us and we sink deeper into affliction and problems. I believe that the Bible is our manual par excellence and from this manual we have a lot to learn every day.
James said in his letter:
7 Submit yourselves, then, to God. Resist the devil, and he will flee from you.
8 Come near to God and he will come near to you. Wash your hands, you sinners, and purify your hearts, you double-minded.
9 Grieve, mourn and wail. Change your laughter to mourning and your joy to gloom.
10 Humble yourselves before the Lord, and he will lift you up.
James 4: 7-10