Most of our concerns are physical in nature (food, clothing, shelter, sleep, etc.), and a necessary consequence of being bound within our mortal coil. In the Torah G-d does not always show full consideration for our physical needs (the Jews in the wilderness certainly were, at times, thirsty and hungry).
Perhaps this is done so that we learn that there are more important things, and that G-d is more interested in our spiritual/holy development than in our material well-being.
If we consider that clearly G-d desires a relationship with us (both in the wilderness and today), then perhaps our physical needs are the easiest way for G-d to leverage a spiritual connection. In a nutshell: when we suffer, we pray. Every physical lack or malady is a way for G-d to teach us to grow and try to improve ourselves, the world around us, and our relationship with our Creator.
This might be true, but it surely is not ideal – at least not to Jews, who prefer less uncomfortable ways to be prompted to grow. Ideally we are spiritually and emptionally sensitive enough to reach out to G-d (and others) without needing to be prompted by our own suffering.