In pain you need joy. In pain you need peace. Although you need joy and peace in your pain, joy and peace can seem far, far, away when you hurt. Pain kills joy. Pain kills peace. The power of Satan or satanic evil brings the pain to kill joy and peace within you. What are you to do? You are to trust in God. Trust in Him so you will overflow with hope brought to you by the power of the Holy Spirit. Do you see the war between the darkness and the Light here? Satan is trying to kill your joy and peace using Satan's weapon of pain while the Lord brings you victory through overflowing hope.
When you hurt look up to Christ Jesus. At some point in the future, your joy and peace will make your hurt go away.