Here the word "grace" may refer either to the things that God gives or to God's character. Possible meanings are 1) "the God who always gives us what we need" or 2) "the God who is always gracious."
These two expressions have similar meanings, that is, that God will enable the believers to trust in him and to obey him regardless of any suffering they may experience. (See: [[rc://en/ta/man/translate/figs-metaphor]])