suggests that
obtaining a desirable reward generally requires undertaking the work or overcoming the difficulties needed to achieve it.
For example, in order to enjoy something, you should make first the effort to win it. This is a situation where “He that would eat the fruit must climb the tree” applies.