They were rattling off works, or their filthy rags as the reason for their salvation.
Not once do they claim to have had faith.
And Jesus condemns them as "workers of lawlessness," not as "unbelieving".