Nahj al-Balāgha

Hadith 1948
governance
وَفِي رِوَايَةٍ أُخْرَى: مَنْ فَاتَهُ حَسَبُ نَفْسِهِ لَمْ يَنْفَعْهُ حَسَبُ آبَائِهِ.
In another version it is thus: Whoever misses personal attainment cannot be benefited by his forefathers’ attainments.
Source: al-Sharīf al-Raḍī