Those who are pure in their own eyes and yet are not cleansed of their filth (NIV)
There is a class of people who are pure in their own eyes, and yet are not washed from their own filth. (AMP)
There is a generation that are pure in their own eyes, and yet is not washed from their filthiness. (KJV)