משנה אויף משלי 3:15

יְקָ֣רָה הִ֭יא מפניים [מִפְּנִינִ֑ים] וְכָל־חֲ֝פָצֶ֗יךָ לֹ֣א יִֽשְׁווּ־בָֽהּ׃

זי איז טײַערער פֿון פּערל, און אַלע דײַנע חפֿצים זײַנען ניט גלײַך צו איר.

Mishnah Horayot

A priest takes precedence over a levite, a levite over an israelite, an israelite over a mamzer, a mamzer over a natin, a natin over a convert, and a convert over a freed slave. When is this so? When all these were in other respects equal. However, if the mamzer was a scholar and the high priest an ignoramus, the scholar mamzer takes precedence over the ignorant high priest.
פֿרעגט אַ רבֿBookmarkShareCopy