In general, the monthly expense for a home is ~.5% of the home price. Comparing that to the rent is a decent starting point.
In your example, monthly expense of ownership is ~2250, which is lower than the rent of 3000.
Of course, this doesn’t take into account the down payment and risk associated with home price fluctuations.