Genesis 37:3
3 Now Israel loved Joseph more than all his sons because he was a son born to him late in life, and he made a special tunic for him. 4 When Joseph’s brothers saw that their father loved him more than any of them, they hated Joseph and were not able to speak to him kindly. 5 Joseph had a dream, and when he told his brothers about it they hated him even more.
2 Samuel 13:18
17 He called his personal attendant and said to him, “Take this woman out of my sight and lock the door behind her!” 18 (Now she was wearing a garment of colors19, for this is what the king’s virgin daughters used to wear.) So Amnon’s attendant removed her and bolted the door behind her. 19 Then Tamar put ashes on her head and tore the long robe she was wearing. She put her hands on her head and went on her way, wailing as she went.
Notes and References
"... The parallels to the Court History’s Amnon-and-Tamar episode come elsewhere in J as well, not just in the Dinah-and-Shechem story. As I have noted, J has a Tamar also, the ancestor of the latter Tamar. Both are stories about sexual relations within a family. Revenge is taken for the Court History’s Tamar when they are shearing (2 Samuel 13:24); revenge is taken for J’s Tamar when they are shearing (Genesis 38:12). In the Court History, Tamar, the innocent victim of violence by her brother, wears a “coat of many colors” which is torn (2 Samuel 13:18); in J, Joseph, the innocent victim of violence by his brothers, wears a “coat of many colors” which is torn (Genesis 37:3, 23, 32). (And recall that these are the only occurrences of the coat of many colors in the Hebrew Bible) In the Court History, David “mourned over his son all the days” (2 Samuel 13:37). In J, Jacob “mourned over his son many days” (Genesis 37:34) ..."
Friedman, Richard Elliott The Hidden Book in the Bible (p. 24) Harper San Francisco, 1998