Faithful Despite Faithlessness

Israel is in the land, and Joshua gives his farewell address.  He exhorts the people to consciously choose if they will follow the Lord or the false gods of the land.  We can think that we are going to be faithful or that God should note our faithfulness, but how much of it is really about us?  Where do we find the power to persevere in our pilgrimage?