Some decisions aren’t mathematical. Sometimes it’s better to make a decision based on whether or not it makes sense for the family as opposed to dollars and sense.
If your wife wants to buy a place, I suggest finding a compromise to figure out how to make both parties happy.