The two don’t really compare at all. The one advantage of renting is being generally free of most maintenance responsibilities. But by renting, you lose the chance to build equity, take advantage of tax benefits, and protect yourself against rent increases. Also, you may not be free to decorate without permission and may be at the mercy of the landlord for housing.
Owning a home has many benefits, besides many this is an investment- it will give you the freedom, stability, and security for your future.