The righteous person may have many troubles, but the Lord delivers him from them all. Psalm 34:19
David wrote these words while on the run from Saul, who was trying to kill him for no other reason other the fact that Saul was jealous of David. David knew what it meant to have troubles and trials in life, but yet he still had faith that God would deliver him from whatever trials and troubles he faced. What lesson can we learn from David and the words that he wrote thousands of years ago? We learn to put our faith and trust in God matter what. We learn that God has the ability to take whatever you going through and make something good out of it. But most importantly we learn that God will deliver you out of your troubles and trials in his time not yours. And the key to all of this is putting your faith and trust in God and believing that he is able to do everything that he has said he is going to do.
And we know that in all things God works for the good of those who love him, who have been called according to his purpose. Romans 8:28