The phrase "filthy rags" is often used to describe things that are very dirty or soiled. It can refer to clothes that are stained or covered in dirt. Full definition
While these texts do teach that all people sin, and in fact, even the works which we believe to be righteous are viewed as filthy rags in God's eyes, there is nothing in these texts which teach the idea of total inability. (redeeminggod.com)