Machines will be far more effective at threat detection and prevention than any human could ever be. Also understand that AI will also be used as a tool to locate vulnerabilities and initiate attacks in the first place.
What do you do in IT? If you were in cybersecurity, you would know both scenarios are already occurring at a high level.