Devarim 17:20

20 That his lev be not lifted up in pride above his brethren, and that he turn not aside from the mitzvah, to the right hand, or to the left; to the end that he may prolong his days in his mamlachah, he, and his banim, in the midst of Yisroel.