That's a question you hear a lot. "Was it worth it?"
Not certain what either "it" refers to, but generally we're saying, "was the destination worth the journey? Was the effort worth the reward?"
The thing about effort is that effort is its own reward if you allow it to be.
So the answer can always be "yes" if you let it.