The quality of materials certainly affect the sound that instruments create. Whether you buy or rent it, a destructive sound would make the music unpleasant to listen. Some may find it more expensive when they buy an instrument and just choose to rent instead. Maintenance is sometimes more expensive plus the fact that most of the stores have no parts or materials to replace in case it gets broken.
When you buy an instrument make sure you get a warranty including parts and maintenance. There are stores that sell parts like guitar string, knobs or cool blackstar ht-5 in case you need a replacement. Personally, I prefer to buy quality ones because even if some parts need to be replaced, still, I get what I pay for because low quality instruments usually produce poor sound while high quality ones are expected to be way up good that last for years.