Opportunity cost means makes purchasing with a mortgage wiser than buying cash. $1000/month more for a few years is nothing compared to the property value increase of a $1M property
I just plugged in some numbers using (estimated) purchase price, taxes, HOA for the unit I'm in now, and it would cost me a little over $1M over 30 years to own a $300,000 1br apt.