How Do You Respond When God (seems to) Fail You?

When life doesn’t make sense, and maybe God doesn’t make sense. What do you do? There have likely been times in your life when you thought God failed. How did you handle that?