Next (v. 16), he discloses what he prays for:
First, he does this.
Secondly, he shows through whom he can ask for what he desires (3:16b).
Thus he says: I ask that you do not give up, but be steadfast like men. Yet I know that by yourselves you cannot achieve this without God's gift, so I beg that he would grant it to you since "every best gift and every perfect gift is from above, coming down from the Father of lights" (Jas. 1:17). He will do this according to the riches of his glory, that is, in accord with his overflowing majesty and grandeur. "Glory and riches are in his house" (Ps. 111:...3), and "With me are riches and glory" (Prov. 8:18). Riches, I say, which will cause you to be strengthened with might. "It is he that giveth strength to the weary, and increaseth force and might to them that are not" (Is. 40:29). This is for the inward man because a man is overcome easily by his enemy if he is not inwardly fortified. [God must] "establish him and strengthen him with judgment and with justice, from henceforth and forever" (Is. 9:7).
Inserted in the above is the phrase by his Spirit indicating through whom petitions are granted. The Spirit himself fortifies, he is the Spirit of fortitude, and is the source of our not yielding under sufferings.
Source: Commentary on Ephesians