If you think the price of condos is going to increase in Hamilton more than other available investments, then buy. If you don't, then don't buy.
If you're like most of us and don't have a crystal ball, buy a condo or house that you can afford and intend to live in. Then it doesn't matter what happens to the market.
Also, you probably won't be building much capital if you're owning property for 5 years or less after all the fees associated with a real estate transaction (let alone the fact that your property will probably be cash flow negative).