IAM password policies can prevent the reuse of a given password by the same user. It is recommended that the password policy prevent the reuse of passwords.
Preventing password reuse increases account resiliency against brute force login attempts.
See the CIS AWS Foundations Benchmark controls docs for console remediation steps.
4.4 Use unique passwords where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system.