This is one question that has been bugging me. Sometimes, the answer is in Christians knowing that God's plan is not human plan. God has a reason for everything and sometimes, prayers cannot change such reasons if there is a better plan ahead. So in such situations, the answer is not to despair or become an atheist or agnostic. The answer is to keep praying the more and lift your head high!