Another thing to factor in is what is your rental cost? I used to rent the cheapest crapholes I could find, but I wouldn’t want to live there long term (area, neighbors, schools, etc…was single)
If you rent in a 3k/month place now and are ok with buying a 3k/month place, then buying is easier to stomach vs. renting in a 1k/month place and it costs you 2.5k/month to buy the place you want to live in longer term…
Kids and school districts make it harder to rent small/cheaper in general.
Doesn’t sound like you have kids or a spouse so renting makes more sense for flexibility.