A rough cash-outlay comparison, not financial advice.
This is a simplified comparison, it doesn't account for home appreciation, maintenance costs, rent increases over time, or the opportunity cost of a down payment invested elsewhere. Use it as a rough gut-check, not a financial plan.