Finding faults with others whilst not taking care of oneself is a sign of defective iman.
The Viral Sin
It is reported that Al-Ḥasan Al-Baṣrī – Allāh have mercy on him – said:
We used to narrate: Whoever faults his brother for a sin he has repented to Allāh from, Allāh will try him with that very sin.
Aḥmad b. Ḥanbal, Al-Zuhd p342 (Al-ʿIlmīyah ed., 1983).
Also read
Related sayings.
The effect of attitude on the benefit of your wealth.
The believer is consistent, whereas the munafiq is a chameleon.