Rabbi Yehoshua ben Korḥa says: The yod in Sarai ascended and prostrated itself before the Holy One blessed be He and said: ‘Master of the universe, You eradicated me from the name of this righteous woman, the wife of this righteous individual, Abraham our patriarch, and You called her name Sarah.’ The Holy One blessed be He said to it: ‘Go. At first, you were at the end of the letters and in the name of a female.

Now, I am placing you in the name of a male and at the beginning of the letters, and in [the name] of one of the most righteous people in the world.’ That is what is written: “Moses called Hoshe’a bin Nun, Joshua [Yehoshua]” (Numbers 13:16). Rabbi Elazar bar Avuna [said] in the name of Rabbi Aḥa: For twenty-six generations alef was objecting before the Holy One blessed be He: ‘Master of the universe, You placed me at the head of the letters, but You created the world not with me but with bet, as it is stated: “In the beginning [bereshit], God created the heavens and the earth”’ (Genesis 1:1).

The Holy One blessed be He said to it: ‘My world and all its contents were created only due to the merit of the Torah, as it is stated: “The Lord founded the earth with wisdom” (Proverbs 3:19). Tomorrow, I will reveal Myself and give the Torah to Israel, and I will place you in the first of the commandments, and I will begin with you first, as it is stated: “I [anokhi] am the Lord your God”’ (Exodus 20:2).

Bar Ḥota said: Why is it called alef? Because it endures for one thousand [elef] generations, as it is stated: “He commanded the matter for one thousand generations” (Psalms 105:8).59God planned to give the Torah, and to start it with the letter alef, for the one thousand generations before it was given (see Bereshit Rabba 28:4; Kohelet Rabba 7:28).