I tried to log in again and I keep getting the same error message.

Most WordPress sites get hit with spam, it’s very common.

You don’t need to restrict based on country, but use a captcha system like https://wordpress.org/plugins/captcha/ and this will greatly reduce the comment, and user registration spam without limiting by country.