If you are planting your roots, meaning, if you are going to live in a community, raise children in this community, the children would be going to the local school we suggest buying.
On the other spectrum, renting allows you much more mobility and could end up saving you a lot of money as well.