1 Samuel 30:1-6
1 And it came to pass, when David and his men were come to Ziklag on the third day, that the Amalekites had invaded the south, and Ziklag, and smitten Ziklag, and burned it with fire; 2 And had taken the women captives, that were therein: they slew not any, either great or small, but carried them away, and went on their way. 3 So David and his men came to the city, and, behold, it was burned with fire; and their wives, and their sons, and their daughters, were taken captives. 4 Then David and the people that were with him lifted up their voice and wept, until they had no more power to weep. 5 And David’s two wives were taken captives, Ahinoam the Jezreelitess, and Abigail the wife of Nabal the Carmelite. 6 And David was greatly distressed; for the people spake of stoning him, because the soul of all the people was grieved, every man for his sons and for his daughters: but David encouraged himself in the LORD his God.
15 And call upon me in the day of trouble: I will deliver thee, and thou shalt glorify me.
Psalm 91:15
Jonah 2:1-4
29 But from there you will seek the Lord your God, and you will find Him if you seek Him with all your heart and with all your soul. 30 When you are in distress, and all these things come upon you in the latter days, when you turn to the Lord your God and obey His voice 31 (for the Lord your God is a merciful God), He will not forsake you nor destroy you, nor forget the covenant of your fathers which He swore to them.