I lost money on the houses I've bought. This is because I factor in the cost of the mortgage, property taxes, real estate commissions, maintenance, insurance, etc.
Houses are lousy investments.
You may be the worst real estate investor I've ever heard of. If housing was actually a lousy investment Blackrock and Berkshire Hathaway wouldn't have real estate holdings and they're both in the residential market in a big way.
You might want to revisit your analysis under more standard accounting guidance.