Al-Imam Ali (p.b.u.h), said:
Hadith n. 79
Amir al-mu’minin, peace be upon him, said:
Take wise points from wherever they may be, because if a wise saying is in the bosom of a hypocrite it flutters in his bosom till it comes out and settles with others of its own category in the bosom of the believer.
Hadith n. 80
Amir al-mu’minin, peace be upon him, said:
A wise saying is a lost article of the believer. Therefore, get wise sayings even though from people of hypocrisy.
Hadith n. 81
Amir al-mu’minin, peace be upon him, said:
The worth of every man is in his attainments.
as-Sayyid ar-Radi says: This is the sentence whose value cannot be assessed, with which no wise saying can be weighed, and with which no other sentence can be matched.
Source: https://www.al-islam.org/nahjul-balagha-part-2-letters-and-sayings