The qualities needed to enjoin good and forbid evil

Sufyan al-Thawri, may Allah have mercy on him, said:

لا يَأْمُرُ بِالْمَعْرُوفِ وَلا يَنْهَى عَنِ الْمُنْكَرِ إِلا مَنْ كَانَ فِيهِ خِصَالٌ ثَلاثٌ رَفِيقٌ بِمَا يَأْمُرُ رَفِيقٌ بِمَا يَنْهَى عَدْلٌ بِمَا يَأْمُرُ عَدْلٌ بِمَا يَنْهَى عَالِمٌ بِمَا يَأْمُرُ عَالِمٌ بِمَا يَنْهَى

There is no enjoining good or forbidding evil except for one who has three qualities: gentleness in what he enjoins and forbids, justice in what he enjoins and forbids, and knowledge of what he enjoins and forbids.

al-Amr bil-Maʻrūf lil-Khallāl 32