וְשַׁבְתָּ֞ עַד־יְהוָ֤ה אֱלֹהֶ֙יךָ֙ וְשָׁמַעְתָּ֣ בְקֹל֔וֹ כְּכֹ֛ל אֲשֶׁר־אָנֹכִ֥י מְצַוְּךָ֖ הַיּ֑וֹם אַתָּ֣ה וּבָנֶ֔יךָ בְּכָל־לְבָבְךָ֖ וּבְכָל־נַפְשֶֽׁךָ׃
и возвратись к Господу, Богу твоему, и внимай голосу Его, как все, что Я заповедую тебе сегодня, ты и дети твои, всем сердцем твоим и всей душе твоей;
Mishneh Torah, Repentance
All of the prophets commanded concerning repentance; Israel will not be redeemed save by repentance. Indeed, the Torah long since assured us that in the end, at the close of the period of exile Israel will turn to repentance and be momentarily redeemed, even as it is said: "And it shall come to pass, when all these things are come upon thee, the blessings and the curse, which I have set before thee, and thou shalt bethink thyself among all the nations, whither the Lord thy God had driven thee, and shalt return unto the Lord thy God, and hearken to His voice according to all that I commanded thee this day, thou and thy children, with all thy heart, and with all thy soul; that then the Lord thy God will turn thy captivity, and have compassion upon thee, and will return and gather thee from all the peoples whither the Lord thy God hath scattered thee" (Deut. 30.14).3Yoma, 87b. C. G.
Abudarham
And since this day is the day of judgment, all Israel is accustomed to arise early from the fifteenth of Elul on to say petitions and ask for mercy from the Blessed Name, until Yom Kippur on which judgment is sealed. And there are places where it is customary to rise early from Rosh Ḥodesh Elul, because on Rosh Ḥodesh Elul Moshe went up the mountain the third time to recieve the second tablets, and prayed on them for Israel, and his prayer was received, and he was given the tablets and descended on Yom Kippur, which was decreed a day of pardon and forgiveness for all generations. And the interpreters say that a source for this is Ani l-dodi v-dodi li (Song 6:3), which has the initial letters "Elul" and the final letters of four yods, adding up to forty, the number of days. And similarly, et levavkha v-et levav (Deuteronomy 30:2) has the initial letters "Elul." And similarly, u-va l-tzion goel ul-shavei (Isaiah 59:20) — the last two letters of goel an the first two letters of ul-shavei are "Elul." And Rabbeinu Hai wrote: "the custom is to say petitions on the Ten Days alone, though we have heard that in some local customs they rise from Rosh Ḥodesh Elul." And Rav Isaac ibn Ghayyat wrote: "as for us here, we rise from the beginning of Elul." And Rav Amram wrote: "On the ten days between Rosh haShana and Yom Kippur we arise early every day to the synagogues before morning light, and ask for mercy, and the prayer-leader begins with Ashrei and after that says Qaddish and begins with petitons and after finishing says "But we know not what to do" (II Chronicles 20:12) and finishes and says Qaddish.