It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Do not boast about your forefathers who passed away in the Jahiliyyah (pre-Islamic ignorance). By the One in whose hand is my soul! The lump of dung which the dung beetle rolls with its nose is better than them."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11811