Based on Bhagavad Gita Chapter 16, Text 02
The Bhagavad-gita (16.02) mentions that the godly are averse to faultfinding.
Gita wisdom explains the rationale. All of us have a godly side and a godless side. The godly side begets virtues and the godless side, faults. When we delight in finding others’ faults, that delight symptomizes our ungodly mentality which sees only the godless faulty side of others and not their godly virtuous side. Such an ungodly fault-finding mentality makes us not god-conscious, but godlessness-conscious — as do all temptations. Therefore such faultfinding is nothing but a temptation, hence the need to be averse to it.
Of course, in some real-life situations, faultfinding may not be a temptation but an obligation. The Gita hints at such situations by enjoining not a ban on faultfinding, but an aversion.