 God was the one who provided everything. All that we have, all that we need comes to us from God. And most likely she had heard the stories passed down through generations of times when God met the needs of his people, of Jacob, how that Jacob's family was taken down to Egypt to meet the needs during a famine, how God providentially had Joseph already there in a place of leadership so that he could distribute the food that was needed.