While getting a mortgage to buy a home can be a great financial move, there's no guarantee that it will make you richer than renting a home.