Compare home equity against investing the same dollars in the market.
Buying tracks mortgage amortization and adds annual home appreciation from the selected market to estimate your ending property value. Investing assumes the down payment is invested up front and the same monthly cash goes into the market instead.