Your scenario assumes that (1) he could rent the same or an equivalent property for much less of cash outflow than buying and (2) he could have invested the difference in some other asset that had a much higher return than appreciation of the condo.
If the amount the rental amount is about the same amount as the mortage payments then you are almost certainly going to be worse off renting than buying under average market conditions.