Paste the following in functions.php:
function login_error_override() { return 'The user name and password is incorrect.'; } add_filter('login_errors', 'login_error_override');
Change The user name and password is incorrect. for the desired text.
Source: https://whatswp.com/change-wordpress-login-error-message/