Bots are troublesome and malicious visitors to one’s website and are unwanted. To discourage such visitors, you can check for some of their behaviors. Their actions may cause your CPU and RAM used more, without any benefits to you.
security
What weakens WordPress?
A big question around WordPress is why do the websites get compromised externally? The WordPress itself is very strong and safe; but what makes it weak?