During one of the most catastrophic events of David’s life, that also affected his men as it did him; “David encouraged himself in the Lord his God.”
1st Samuel 30:3-6
So David and his men came to the city (Ziklag), and behold, it was burned with fire; and their wives, and their sons, and their daughters, were taken captives.
Then David and the people that were with him lifted up their voices and wept, until they had no more power to weep.
And David’s two wives were taken captives, Ahinoam the Jezereelitess, and Abigail the wife of Nabal the Carmelite.
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.
David sought the priest Abiathar who brought him the Ephod and he inquired of the Lord. The Lord’s answer was, “Pursue: for thou shalt surely overtake them, and without fail recover all.”
While in pursuit, they encountered the Egyptian servant of an Amalekite who had abandoned him 3 days prior when he fell sick. He informed them that it was the Amalekites who burned Ziklag and took their families captive. Then he directed them to the exact place of the camp. David was able to take them by surprise and he and his men plundered them and recovered all that was theirs and the spoil.
Don't panic in a crisis, seek the Lord's counsel. The act of seeking Him helps us to understand that we are not alone. Acknowledge that God cares about your crisis and make room for Him to comfort and resolve whatever is escalating in your life.
There is no situation that the Lord cannot handle when we encourage ourselves in Him and seek His guidance to resolve it. It is all to the glory of God. The harder the situation, the greater is His glory.