Will car insurance always be expensive when I first purchase it?

I've never had car insurance and I'm about to purchase a car. I've been researching different companies and they are all pricey. Should I wait until I'm 25 to get my own insurance since it will be cheaper or is the price based off other factors? I'm currently 24 years old and never had insurance under my name.