Done both and prefer owning. But we only chose owning when the total cost was lower than renting. One other big benefit is choice when you have pets - what drove us to buy initially was the extremely limited (and expensive) selection once we had one dog and needed to move for work. Did the paperwork and turned to buying.
Then you really need to learn how plants and farming work and how delicate the balance is.