Yeah, this is the truth and is often overlooked.. most people don't choose when to sell, they're forced to because they lost their job or are moving away. If the market is down and you want to sell, tough luck. Price your house high and it'll sit on the market for 6 months or more while you lose more money to mortgage payments. You can try to rent your house out, but it's highly unlikely you can get enough to cover costs even if you can keep it occupied. And it's a huge headache. And if you want to put it up for sale after renting, you'll likely need to do a lot of repairs after the tenants move out.
People tend to think rent is wasted money, but they fail to realize that for the first several years of a 30 year mortgage, they're mostly paying interest, which is also wasted money. By the time you would start building real equity, most people are selling due to job relocation, wanting a bigger house, etc.
Tax benefits are also always overstated. Deductions for interest and property tax are great, but don't forget to subtract the standard deduction you would take if you weren't itemizing.
You also have to pay 6% to a realtor when you sell, so you better hope your property value rose by at least 6% when you're forced to sell (unlikely in the current market).
And lastly, there's the opportunity cost of tying up your down payment in something that is unlikely to gain in value and is about as far from liquid as you can get.