It is narrated that a man came to see the fifth Shia Imam, Mohammad Al-Baqir (AS) and said:
I am Oqabat ibn Bashir Asadi, and I am of noble lineage. Imam (AS) asked: “What do you mean by mentioning your family status? Allah (SWT) will elevate the status of the one who others consider unworthy if he/she is a believer for the sake of his/her belief; and the one who is considered noble by the people, if that person is a disbeliever, God will degrade him/her for the sake of his/her disbelief. Therefore, no one is superior to others except by Taqwa (Divine Piety) [1].
[1] Kafi, Vol. 4, Page 19.
Source: en.shafaqna.com