Bamidbar / Numbers 32:1 · Remez
וּמִקְנֶה רַב הָיָה לִבְנֵי רְאוּבֵן וְלִבְנֵי־גָד עָצוּם מְאֹד וַיִּרְאוּ אֶת־אֶרֶץ יַעְזֵר וְאֶת־אֶרֶץ גִּלְעָד וְהִנֵּה הַמָּקוֹם מְקוֹם מִקְנֶה׃
Now the children of Reuven (Reuben) and the children of Gad had a very great multitude of cattle. And they saw the land of Yazer (Jazer) and the land of Gilad (Gilead), and behold, the place was a place for cattle.
Remez רֶמֶז
Eight times and one letter
The order of names in the verse changes: now Reuven (Reuben) comes first, now Gad. And the number of times both tribes are named hints at what awaited them in the end.
Kitzur Ba'al HaTurim: first Reuven (Reuben), the eldest, is named first, then Gad, because the children of Gad were mighty warriors. Each tribe is named eight times in this chapter. Hence the verse in Proverbs on an inheritance taken in haste: the word "hasty" there is written with the letter chet (ח), whose value is eight, and these tribes went into exile eight years before the others. Rabbeinu Bahya: first the sons of the mistress are named, then the sons of the maidservant.
How Kitzur Ba'al HaTurim and Rabbeinu Bahya explain it
Kitzur Ba'al HaTurim Now the children of Reuven and the children of Gad had a very great multitude of cattle
Here Reuven (Reuben) is named first. But in "And the children of Gad and the children of Reuven came", Gad is named first. At first the Torah named Reuven first because he was the eldest, and afterward named Gad first, because they were mighty warriors and those they slew were recognizable, as it is written: "and he tears the arm, even the crown of the head" (Devarim / Deuteronomy 33:20). Eight times are the children of Gad and the children of Reuven named in this section. And this is "An inheritance gotten hastily at the beginning, its end shall not be blessed" (Mishlei / Proverbs 20:21): the word "hastily" (mevohelet) is written with the letter chet (ח), because of the eight times they are named in the matter of their inheritance, to take it first. "Its end shall not be blessed": they went into exile eight years before the other tribes.
Rabbeinu Bahya Now the children of Reuven and the children of Gad had a very great multitude of cattle
First the Torah named the sons of the mistress, and afterward the sons of the maidservant.
Takeaway
In chapter 32 the words "children of Gad" appear eight times and "children of Reuven" eight times (32:1, 2, 6, 25, 29, 31, 33 both together, 32:34 children of Gad, 32:37 children of Reuven).
In Mishlei / Proverbs 20:21 the word is written מְבֻחֶלֶת (with ח) and read מְבֹהֶלֶת (with ה). The number value of the letter ח is eight.
Reuven is the son of Leah, Yaakov's wife, and Gad is the son of Zilpah, Leah's maidservant (Bereshit / Genesis 30:9–11, 35:23–26).