At times God will delay granting you relief in order to draw you closer to himself. He might want to teach you just how helpless you really are and how all-sufficient he really is. Sometimes God will allow you to suffer for a season to test and strengthen your faith.