We bought the home together in 2018. Last year we refinanced but put it in my name because my wife's credit is shit.

Wife wants to stay in the house with the kids but she would have to buy the house from me. If I don't want to give her the house can I be legally forced to sell it to her? I'd rather just pay her for her share of the equity.

Edit: She is on the deed but not on the loan.