Finding faults with others whilst not taking care of oneself is a sign of defective iman.
Believers and Chameleons
It is reported that Al-Ḥasan Al-Baṣrī – Allāh have mercy on him – said:
Verily, you will find the believer (muʾmin) consistent time after time, upon one way, showing the same face; [whereas] you will find the hypocrite (munāfiq) changing colors, trying to be like everyone around him, running with every wind.
Abū Bakr Al-Daynūrī, Al-Mujālasah wa Jawāhir Al-ʿIlm #1936
Also read
Related sayings.
Faulting others for what they have repented from can reflect the sin on oneself.
The effect of attitude on the benefit of your wealth.