How to handle pricing as a freelance designer

As one of my mentors said to me “don’t sell hours, sell solutions. There is a limit to what people will pay for hours, but solutions are much more valuable”