If you search online, there's a calculator that will help decide which is better in your circumstances - renting or purchasing. You, of course, have to make some assumptions, but it will give you the number of years until you break even on purchasing.
However, that calculator looks at it only from a financial perspective. Each individual has to weigh the merits of the advantages and disadvantages of either situation. There was a thread here recently about what a pain in the neck it was going to be for someone to move their computer to another room - no outlet for the cable (or cat 5e, or whatever it was.) I, for instance, would hate the lack of control over my surroundings. If my drain backs up, furnace stops working, I have electrical problems, or any of a myriad of other "headaches" associated with home ownership happened to me, I'd MUCH rather have the first crack at fixing the problem and dealing with it myself than have some other person contracted to come in and fix it for me. i.e. home ownership provides a hobby for those so inclined. My wife loves the freedom that comes with walking through a home improvement type of store, seeing a wallpaper she really likes, and deciding to re-wallpaper the dining room or something. So, even if we were coming out slightly behind financially, those benefits have a value to us.
Compare that to a guy I used to work with. He couldn't even hand a knick-knack shelf in his house. Not because he didn't want to - because he couldn't have figured out how to do it. His son was even worse - he allegedly put up a shelf in his kitchen - a heavy shelf that was loaded with heavy materials (albeit momentarily) - with one finishing nail. It didn't end well. Having someone else completely responsible for their living quarters was a perfect arrangement.