There is no inconsistency in saying that God rewards good works, provided we understand that nevertheless men obtain eternal life gratuitously.
In our good works nothing is our own.
The first part of a good work is the will, the second is vigorous effort in the doing of it. God is the author of both. It is, therefore, robbery from God to arrogate anything to ourselves, either in the will or the act.