Faith without works is dead. —Somewhere in the Epistle of Straw
I believe is what James was saying is that faith that does not produce good works is not real faith. IOW, we do good works because we are saved, not to get or stay saved. Good works is evidence of saving faith, a faith that has already saved us.
Becky