you. If so, the bank can sue you for the difference between the foreclosure sale price and your mortgage. That is something you’ll want to avoid at all costs.
Next you should consider what the credit hit will cost you long term. If you have a steady job that you will stay at long term, don’t rely much on credit, don’t plan on buying a house for seven years and you don’t need to finance a car, it might make sense to walk.