As per this TurboTax article, Who Can Benefit From the Home Buyers’ Amount?, you cannot claim the 1st time Homebuyers Credit in your 2021 tax return, as you indicated you bought the house two years ago.
The Home Buyers’ Amount (HBA) is a non-refundable credit that allows first-time purchasers of homes, and purchasers with disabilities, to claim up to $5,000 in the year when they purchase a home.
Thank you for choosing TurboTax.