Married in 2024. I was single, sold my house and bought new house with my husband. He used to file head of household and claimed his kid as part of agreement with ex wife.

Married in 2024. I was single, sold my house and bought new house with my husband. He used to file head of household and claimed his kid as part of agreement with ex wife. Thinking we’d file married filing. But because he retired in 2024 and started collecting pension as well as started working a new full-time job, his return shows he owes about $5000. I started my return as married, filing separately, and I’m in the plus because I sold my house and claiming the house we bought together since I paid down payment and all  the closing expenses for it. I also have student loans that I pay interest on that I can deduct.

if we file married filing jointly, will we that $5000 that he owes get deducted from our potential refund? I feel like I’d be getting the short end of the stick