David went through some pretty terrible stuff, but God brought him through it; what did David learn while navigating through these things?