(כג) וַֽיְהִ֕י כַּֽאֲשֶׁר־בָּ֥א יוֹסֵ֖ף אֶל־אֶחָ֑יו וַיַּפְשִׁ֤יטוּ אֶת־יוֹסֵף֙ אֶת־כֻּתָּנְתּ֔וֹ אֶת־כְּתֹ֥נֶת הַפַּסִּ֖ים אֲשֶׁ֥ר עָלָֽיו׃ (כד) וַיִּ֨קָּחֻ֔הוּ וַיַּשְׁלִ֥כוּ אֹת֖וֹ הַבֹּ֑רָה וְהַבּ֣וֹר רֵ֔ק אֵ֥ין בּ֖וֹ מָֽיִם׃ (כה) וַיֵּשְׁבוּ֮ לֶֽאֱכָל־לֶחֶם֒ וַיִּשְׂא֤וּ עֵֽינֵיהֶם֙ וַיִּרְא֔וּ וְהִנֵּה֙ אֹרְחַ֣ת יִשְׁמְעֵאלִ֔ים בָּאָ֖ה מִגִּלְעָ֑ד וּגְמַלֵּיהֶ֣ם נֹֽשְׂאִ֗ים נְכֹאת֙ וּצְרִ֣י וָלֹ֔ט הוֹלְכִ֖ים לְהוֹרִ֥יד מִצְרָֽיְמָה׃ (כו) וַיֹּ֥אמֶר יְהוּדָ֖ה אֶל־אֶחָ֑יו מַה־בֶּ֗צַע כִּ֤י נַהֲרֹג֙ אֶת־אָחִ֔ינוּ וְכִסִּ֖ינוּ אֶת־דָּמֽוֹ׃ (כז) לְכ֞וּ וְנִמְכְּרֶ֣נּוּ לַיִּשְׁמְעֵאלִ֗ים וְיָדֵ֙נוּ֙ אַל־תְּהִי־ב֔וֹ כִּֽי־אָחִ֥ינוּ בְשָׂרֵ֖נוּ ה֑וּא וַֽיִּשְׁמְע֖וּ אֶחָֽיו׃ (כח) וַיַּֽעַבְרוּ֩ אֲנָשִׁ֨ים מִדְיָנִ֜ים סֹֽחֲרִ֗ים וַֽיִּמְשְׁכוּ֙ וַיַּֽעֲל֤וּ אֶת־יוֹסֵף֙ מִן־הַבּ֔וֹר וַיִּמְכְּר֧וּ אֶת־יוֹסֵ֛ף לַיִּשְׁמְעֵאלִ֖ים בְּעֶשְׂרִ֣ים כָּ֑סֶף וַיָּבִ֥יאוּ אֶת־יוֹסֵ֖ף מִצְרָֽיְמָה׃

(23) When Joseph came up to his brothers, they stripped Joseph of his tunic, the ornamented tunic that he was wearing, (24) and took him and cast him into the pit. The pit was empty; there was no water in it. (25) Then they sat down to a meal. Looking up, they saw a caravan of Ishmaelites coming from Gilead, their camels bearing gum, balm, and ladanum to be taken to Egypt. (26) Then Judah said to his brothers, “What do we gain by killing our brother and covering up his blood? (27) Come, let us sell him to the Ishmaelites, but let us not do away with him ourselves. After all, he is our brother, our own flesh.” His brothers agreed. (28) When Midianite traders passed by, they pulled Joseph up out of the pit. They sold Joseph for twenty pieces of silver to the Ishmaelites, who brought Joseph to Egypt.

(יד) וַיָּבֹ֨א יְהוּדָ֤ה וְאֶחָיו֙ בֵּ֣יתָה יוֹסֵ֔ף וְה֖וּא עוֹדֶ֣נּוּ שָׁ֑ם וַיִּפְּל֥וּ לְפָנָ֖יו אָֽרְצָה׃ (טו) וַיֹּ֤אמֶר לָהֶם֙ יוֹסֵ֔ף מָֽה־הַמַּעֲשֶׂ֥ה הַזֶּ֖ה אֲשֶׁ֣ר עֲשִׂיתֶ֑ם הֲל֣וֹא יְדַעְתֶּ֔ם כִּֽי־נַחֵ֧שׁ יְנַחֵ֛שׁ אִ֖ישׁ אֲשֶׁ֥ר כָּמֹֽנִי׃ (טז) וַיֹּ֣אמֶר יְהוּדָ֗ה מַה־נֹּאמַר֙ לַֽאדֹנִ֔י מַה־נְּדַבֵּ֖ר וּמַה־נִּצְטַדָּ֑ק הָאֱלֹהִ֗ים מָצָא֙ אֶת־עֲוֺ֣ן עֲבָדֶ֔יךָ הִנֶּנּ֤וּ עֲבָדִים֙ לַֽאדֹנִ֔י גַּם־אֲנַ֕חְנוּ גַּ֛ם אֲשֶׁר־נִמְצָ֥א הַגָּבִ֖יעַ בְּיָדֽוֹ׃
(14) When Judah and his brothers reentered the house of Joseph, who was still there, they threw themselves on the ground before him. (15) Joseph said to them, “What is this deed that you have done? Do you not know that a man like me practices divination?” (16) Judah replied, “What can we say to my lord? How can we plead, how can we prove our innocence? God has uncovered the crime of your servants. Here we are, then, slaves of my lord, the rest of us as much as he in whose possession the goblet was found.”
(ל) וְעַתָּ֗ה כְּבֹאִי֙ אֶל־עַבְדְּךָ֣ אָבִ֔י וְהַנַּ֖עַר אֵינֶ֣נּוּ אִתָּ֑נוּ וְנַפְשׁ֖וֹ קְשׁוּרָ֥ה בְנַפְשֽׁוֹ׃ (לא) וְהָיָ֗ה כִּרְאוֹת֛וֹ כִּי־אֵ֥ין הַנַּ֖עַר וָמֵ֑ת וְהוֹרִ֨ידוּ עֲבָדֶ֜יךָ אֶת־שֵׂיבַ֨ת עַבְדְּךָ֥ אָבִ֛ינוּ בְּיָג֖וֹן שְׁאֹֽלָה׃ (לב) כִּ֤י עַבְדְּךָ֙ עָרַ֣ב אֶת־הַנַּ֔עַר מֵעִ֥ם אָבִ֖י לֵאמֹ֑ר אִם־לֹ֤א אֲבִיאֶ֙נּוּ֙ אֵלֶ֔יךָ וְחָטָ֥אתִי לְאָבִ֖י כָּל־הַיָּמִֽים׃ (לג) וְעַתָּ֗ה יֵֽשֶׁב־נָ֤א עַבְדְּךָ֙ תַּ֣חַת הַנַּ֔עַר עֶ֖בֶד לַֽאדֹנִ֑י וְהַנַּ֖עַר יַ֥עַל עִם־אֶחָֽיו׃ (לד) כִּי־אֵיךְ֙ אֶֽעֱלֶ֣ה אֶל־אָבִ֔י וְהַנַּ֖עַר אֵינֶ֣נּוּ אִתִּ֑י פֶּ֚ן אֶרְאֶ֣ה בָרָ֔ע אֲשֶׁ֥ר יִמְצָ֖א אֶת־אָבִֽי׃

(30) “Now, if I come to your servant my father and the boy is not with us—since his own life is so bound up with his— (31) when he sees that the boy is not with us, he will die, and your servants will send the white head of your servant our father down to Sheol in grief. (32) Now your servant has pledged himself for the boy to my father, saying, ‘If I do not bring him back to you, I shall stand guilty before my father forever.’ (33) Therefore, please let your servant remain as a slave to my lord instead of the boy, and let the boy go back with his brothers. (34) For how can I go back to my father unless the boy is with me? Let me not be witness to the woe that would overtake my father!”

(ט) האומר אחטא ואשוב. אחטא ואשוב. אין מספיקין בידו לעשות תשובה. אחטא ויום הכפורים מכפר. אין יום הכפורים מכפר. עבירות שבין אדם למקום. יום הכפורים מכפר. עבירות שבין אדם לחבירו. אין יום הכפורים מכפר. עד שירצה חברו. את זו דרש רבי אלעזר בן עזריה (ויקרא טז, ל) מכל חטאתיכם לפני ה' תטהרו. עבירות שבין אדם למקום יום הכפורים מכפר. עבירות שבין אדם לחברו. אין יום הכפורים מכפר. עד שירצה את חברו. אמר רבי עקיבא אשריכם ישראל לפני מי אתם מיטהרין. מי מטהר אתכם אביכם שבשמים. שנאמר (יחזקאל לו, כה) וזרקתי עליבם מים טהורים וטהרתם. ואומר (ירמיה יד, ח) מקוה ישראל. מה מקוה מטהר את הטמאים. אף הקדוש ברוך הוא מטהר את ישראל:

(9) One who says, "I will sin, and then repent, I will sin [again], and then repent," will not receive an opportunity to repent; [for one who says] "I will sin, and Yom Kipur will atone," Yom Kippur will not atone. Yom Kippur atones for transgressions between a person and God, but for a transgression against one's neighbor, Yom Kipur cannot atone, until he appeases his neighbor. Thus R. Eleazar ben Azariah expounds the text, "From all your sins before the Lord shall ye be clean": For transgressions between a person and God, Yom Kippur atones, for transgressions against one's neighbor, Yom Kippur cannot atone, until he appeases his neighbor. R. Akiva says, Happy are you, Israel! Before whom are you purified, and who purifies you [of your transgressions]? Your Father Who is in heaven. For it is said, "Then will I sprinkle clean water upon you, and ye shall be clean"; and it is also said, "The ‏ritual bath‎ [lit. Hope] of Israel is the Lord"; even as a ritual bath purifies the unclean, so does the Holy One, Blessed be He, purify Israel.

“When an opportunity presents itself for repeating an offense once committed, and the offender, while able to commit the offense, nevertheless refrains from doing so because he is penitent, and not out of fear or failure of vigor, this is true repentance. Even if one transgressed all his life and repented on the day of his death, all of his iniquities are pardoned.” (Mishneh Torah, Laws of Repentance 2).