Accordingly, whether we have our requests granted or not, let us persist in asking and render thanks not only when we gain what we ask but also when we fail to. Failure to gain, you see, when that is what God wants, is not worse than succeeding; we do not know what is to our advantage in this regard in the way he does understand. The result is, then, that succeeding or failing we ought to give thanks. Why are you surprised that we don’t know what is to our advantage? … So we ought to yield to the Creator of our nature, and with joy and great relish accept those things that he has decided on and have an eye not to the appearance of events but to the decisions of the Lord. After all, he who knows better than we what is for our benefit also knows what steps must be taken for our salvation.
–Saint John Chrysostom (347-407)