You're double counting the down payment and equity payment. It doesn't count against the profit of the simple $150k number unless you lower the mortgage balance which would increase the $150k to $214k.
Another way to look at it is that even with your numbers, a 40k investment was turned into 1.25k monthly dividend vs. -2k month or so in rent (rough number based on house price).
Yeah, it's not a pure 150k return but it's still vastly larger than any other investment I could have made in 2018. It's not even close.
Calling this a "financially suboptimal choice" is nonsense.