There was a man named Job, who suffered great pain
Job 1;21 Job 42;10 - speaks of how his pain began and how it ended, and no one ever suffered pain like our Lord, Romans 5;8 - but in the end there was Great Glory. So seeing this I believe there can be a purpose for our pain, and in the end we will see it's purpose, and even receive a reward.