The IRS will remove the $1,400 Recovery Rebate Credit from your 2021 federal tax refund if you indicated that you did Not receive the 3rd stimulus payment and the IRS has records which indicate the stimulus payment was sent to you.
Go to to your IRS tax account and see if the 3rd stimulus payment is reported - https://www.irs.gov/payments/your-online-account