Deductions & credits

Yes, The loan was transferred with no refinancing. I received a 1098 from both loans. But can I deduct all of the points in 2024 as I plan to payoff the mortgage this year.