How to deduct overpayment of STD from a previous year repaid in 2021.

I received a letter from std insurance company stating that In 2021 I repaid $12,090.60 for an overpayment received in 2019 & 20.  Shouldn't this reduce my taxable income for 2021 by the $12,090.60?  When I enter it in line 16 of Schedule A it doesn't change my return because it isn't enough to put me over the standard deduction, but when I claimed it as income in 2019 & 20 it raised my taxable income by the amount paid in each year?