Seeing Myself in the Widow of Zarephath

Last night, I was reading a few chapters of the Bible from the Bible in a Year by the Augustine Institute. (Btw - it's awesome; you should totally try it.)
Anyway, I was reading 1 Kings 17, which tells the story of Elijah and the widow of Zarephath. Elijah meets the woman at the gate of the city and asks her to bring him food and water. She explains that she won't be able to bring him food, as she is gathering sticks to make a meal for herself and her son, and then all of their food will have run out and they will die. (Well, that's uplifting.) Elijah tells her to go do it anyway (who does this guy think he is?!) and if she does, they won't run out of food until the drought is over. Sure enough, she makes him food, and their food supply does not run out, thanks to her faithfulness.
And then a little while later, the woman's son becomes very ill, to the point of death.
Now, if I were this woman, I'd be thinking, "Hmm. The prophet who is living in my house made it so our food doesn't run out. Maybe I should go ask him for help!"
Instead, the woman responds a bit more harshly:
"And she said to Elijah, “What have you against me, O man of God? You have come to me to bring my sin to remembrance, and to cause the death of my son!”" - 1 Kings 17:18
Now my first thought upon reading this was that she was coming on way too strong. This guy just saved her and her son from dying of starvation, and instead of trusting in him because of this great act, she turns on him the moment something goes wrong? Was the food miracle not enough for her to believe?
And that's when it hit me - I do the exact same thing to God.
You see, when something goes wrong in my life, I turn to God somewhat peeved. "How could you make this happen?" I question Him. "Have you abandoned me? Do you even exist? I've served you so faithfully, and this is my reward? This is why you don't have friends - because this is how you treat them!"