אַחֲרֵ֨י יְהוָ֧ה אֱלֹהֵיכֶ֛ם תֵּלֵ֖כוּ וְאֹת֣וֹ תִירָ֑אוּ וְאֶת־מִצְוֺתָ֤יו תִּשְׁמֹ֙רוּ֙ וּבְקֹל֣וֹ תִשְׁמָ֔עוּ וְאֹת֥וֹ תַעֲבֹ֖דוּ וּב֥וֹ תִדְבָּקֽוּן׃
C’est l’Éternel, votre Dieu, qu’il faut suivre, c’est lui que vous devez craindre; vous n’observerez que ses préceptes, n’obéirez qu’à sa voix; à lui votre culte, à lui votre attachement!
Mishneh Torah, Human Dispositions
One who controls himself with increased restrictions, and distances himself even from the mean tendency,2Shabbat, 30-31. G. a little one way or a little the other way, is called devout. How may one do it? One who will distance himself from the extreme point of arrogance and become exceedingly humble is called devout for, this is the tendency of piety. If one distances himself to the mean point only and practices meekness he is called a wise man for, this is the tendency of wisdom. A like pathway exists in all the rest of the tendencies. The ancient devotees diverged their tendencies from the middle-path facing the two extremes; some tendency they bent opposite to the last extreme and some tendency they bent opposite the first extreme. This is more than being within the limits of the law.3Baba Mezi’a 30a. G. As for us, we are charged to walk in these middle-paths, which are the good and straight paths, even as it is said: "And thou shalt walk in His ways" (Deut. 28 9).
Mishneh Torah, Human Dispositions
In explaining this commandment the sages taught thus: Even as He is called gracious, be thou gracious; even as He is called merciful, be thou merciful; even as He is called holy, be thou holy.4Shabbat, 133b.; Sotah, 14a. C. In this wise did the prophets attribute to God all such terms as long-suffering, abundant in benificence, just and right, perfect, mighty and powerful and others like these, to proclaim that they are good and straight paths, and that man is obligated to lead himself in them, and to be like unto Him in proportion to his power.
Arukh HaShulchan
And we have been commanded to walk along G-d's path of goodness and righteousness, as the verse says, "you should travel in His ways" (Deut. 26:13). Furthermore it says, "After Hashem your G-d you shall go" (Deut. 13:5). And furthermore it says, "'to travel in all of His ways' (Deut 10:12)- just as He is gracious, you shall also be gracious. Just as he is merciful, you shall also be merciful" (a similar idea appears on Sotah 14b)". And [we are commanded] to emulate His positive actions and positive righteous traits to the best of our ability. It is a positive commandment to be attached to wise men and their students in order to learn from their actions as the verse says, "and to him you shall be devoted" (Deut. 13:5). Is it possible for one to be attached to the Sechinah (divine presence) if it is a consuming fire (Deut. 4:24)? Rather, to be attached to the wise men and their students (Ketuvos 111b), to spread dirt before their feet and to drink their knowledge with thirst, as the verse says, "he who goes with the wise will become wise" (Proverbs 13:20). And furthermore it says, " the praises of a man are that he did not follow the counsel of the wicked" (Psalms 1:1).