these verses relate to each other very well.
We are bound by sin, we are bound by the trials and struggles of this world. There is always something we feel the need to cry out to the Lord about. We deal with offenses, physical illnesses, sadness and sorrow, poverty, death of loved ones, etc. We can keep our eyes focused on these things and be in bondage to the emotion that drives us and affects our choices and relationships -
or we can cry out to the Lord and know that though we might suffer these things in the physical, we can have true peace knowing that He has saved us, He will carry us through the trials of this world and that the trials of this world are not eternal.
Through Jesus, we have the strength to withstand the trials and allow them to teach us and edify us- through Jesus, these trials will not break us or hold us captive to their destructiveness. Jesus has authority over everything in this world and knowing Him is knowing peace and strength- we are saved and we will be with Him and when we are, our trials will be less than a faint memory and all that will remain is the peace that passes all understanding- the peace that knows that through all things, Jesus is Lord and no matter the circumstance, He reigns !