Shabbat 10b:
ואמר רבא בר מחסיא אמר רב חמא בר גוריא אמר רב לעולם אל ישנה אדם בנו בין הבנים שבשביל משקל שני סלעים מילת שנתן יעקב ליוסף יותר משאר בניו נתקנאו בו אחיו ונתגלגל הדבר וירדו אבותינו למצרים
And Rava bar Meḥasseya said that Rav Ḥama bar Gurya said that Rav said: A person should never distinguish one of his sons from among the other sons by giving him preferential treatment. As, due to the weight of two sela of fine wool that Jacob gave to Joseph, beyond what he gave the rest of his sons, in making him the striped coat, his brothers became jealous of him and the matter unfolded and our forefathers descended to Egypt.