Satan must have a double permission before he can do anything against us.

In Precious Remedies, Thomas Brooks writes:

That Satan must have a double permission before he can do anything against us.

He must have permission from God, and permission from ourselves, before he can do anything against our happiness. He must have his permission from God, as you may see in the example of Job (Job 1:11, 12; 2:3-5). Though the devil had malice enough to destroy him, yet he had not so much as power to touch him, until God gave him permission.

They could not so much as enter into the swine without permission from Christ (Luke 8:32). Satan would gladly have combated with Peter—but this he could not do without leave. 'Satan has desired to have you, to winnow you' (Luke 22:31). So Satan could never have overthrown Ahab and Saul—but by permission from God (1 Kings22). Ah! what a cordial, what a comfort should this be to the saints—that their greatest, subtlest, and most vigilant enemy cannot hurt nor harm them, without permission from him who is their sweetest Savior, their dearest husband, and their choicest friend.

And as Satan must have permission from God, so he must have permission from us. When he tempts, we must assent; when he makes offers, we must hearken; when he commands, we must obey, or else all his labor and temptations will be frustrated, and the evil that he tempts us to shall be put down only to his account. That is a remarkable passage in Acts 5:3, 'Why has Satan filled your heart to lie to the Holy Spirit?' He does not expostulate the matter with Satan; he does not say, Satan, 'Why have you filled Ananias's heart to make him lie to the Holy Spirit?' but he expostulates the case with Ananias; Peter said, 'Ananias, why has Satan filled your heart to lie to the Holy Spirit?' Why have you given him an advantage to fill your heart with infidelity, hypocrisy, and obstinate audacity, to lie to the Holy Spirit? As if he had said, Satan could never have done this in you, which will now forever undo you, unless you had given him permission. If, when a temptation comes, a man cries out, and says, "Ah, Lord! here is a temptation that would force me, that would deflower my soul, and I have no strength to withstand it! Oh! help! help! for your honor's sake, for your Son's sake, for your promise's sake!" it is a sign that Satan has not gained your consent—but committed a rape upon your souls, which he shall dearly pay for.