Your home is your investment. One of the biggest advantages of buying a home instead of renting, is you get the opportunity to build home equity.
Every mortgage payment builds home equity, and when you need to use that equity you can with a cash-out refinance.