A bike fit and a correctly sized and setup bike with the right saddle, correctly sized frame and handlebars might work as well.
only a 0.5cm change in saddle position can greatly improve comfort already.
A bike fit and correctly setup bike helped me a lot, especially on longer (100km+) rides.