In an inflationary environment, I would agree completely. But in a deflationary environment, the risk of losing the downpayment is fairly great. Assuming 5% to 20% plus closing costs, that’s a chunk of change I’d rather keep for myself. But, if you could get a zero down loan, that would be worthwhile, IMO.
In delfation, keeping the cash turns out to often be the best “investment” of all.