Imam Ali (AS) said, ‘And know that there is no good in knowledge that is of no use, and that one cannot benefit from knowledge that is not worthy of being learnt.
ـ الإمامُ عليٌّ (عَلَيهِ الّسَلامُ): وَاعلَم أنَّهُ لا خَيرَ في عِلمٍ لا يَنفَعُ ، ولا يُنتَفَعُ بِعِلمٍ لا يَحُقُّ تَعَلُّمُهُ.
Similar narrations
Nahj al-Balāgha #1335Understand my advice an do not turn away from it, because the best saying is that which benefits. Know that there is no good in that...