Unemployment compensation

I received unemployment compensation benefits in 2021, but paid back some in 2022.  Do I take the amount off my 2021 taxes?