If you can pay a mortgage loan to buy a house, I think that will be good for you, even if you need to do that for more than 10 years because you will have your own house after that years. On the other hand, maybe rent a house will not too expensive for you, but if you can allocate your money to buy a house, you can have a house without paying the fee of rent a house anymore. But if you have another plan by renting a house, I hope you can thinking more to find which will be good for you and calculate your money before you decide.
Its not easy to take a 10 year housing loan, Anything can happen within those 10 years and in the event you lose your job, you will lose your house too. Its better to rent for now and save up for a future house since its all the same as getting a mortgage for 10 years.