Deductions & credits

Just to confirm, when my new lender pays off my old lender, which should be next month, that is the moment that I can deduct the remainder of the points from the old loan? So that would mean with my Tax Year 2021 taxes, correct?