1 Then I saw an angel coming down from heaven, holding in his hand the key to the bottomless pit and a great chain. 2 And he seized the dragon, that ancient serpent, who is the devil and Satan, and bound him for a thousand years, 3 and threw him into the pit, and shut it and sealed it over him, so that he might not deceive the nations any longer, until the thousand years were ended. After that he must be released for a little while (Rev 20:1-3
8 And the Lord said to Satan, “Have you considered my servant Job, that there is none like him on the earth, a blameless and upright man, who fears God and turns away from evil?” 9 Then Satan answered the Lord and said, “Does Job fear God for no reason? 10 Have you not put a hedge around him and his house and all that he has, on every side? You have blessed the work of his hands, and his possessions have increased in the land. 11 But stretch out your hand and touch all that he has, and he will curse you to your face.” 12 And the Lord said to Satan, “Behold, all that he has is in your hand. Only against him do not stretch out your hand.” So Satan went out from the presence of the Lord. (Job 1:8-12).
4 Then Satan answered the Lord and said, “Skin for skin! All that a man has he will give for his life. 5 But stretch out your hand and touch his bone and his flesh, and he will curse you to your face.” 6 And the Lord said to Satan, “Behold, he is in your hand; only spare his life” (2:4-6).
Job furnishes a striking example of how Satan can do a lot of damage to God’s people, yet act under very specific constraints. That’s a scriptural illustration and possible precedent for how the devil can still be quite active in church history, yet his sphere of action is under very definite divine restrictions. Harmful in some respects yet harmless in others. Precisely delimited by God.