Sefer Yesodei HaTorah Chapter 40
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
מעתה כל המצות והחקים אשר נתן ה' לעמו, המכוון בהם תקון המדות, והצלחת האומה, וטובת אנשיה, או שמירת הריליגיאן בקרב העם, או שתי הכוונתו האלה יחדו.
Translated by R. Shraga Silverstein
In sum, then, what is common to all of the mitzvoth and the statutes given by the L-rd to His people is improvement of character and prospering of the nation and the good of its people or perpetuation of the faith in the midst of the people, or both of these as one.