Devarim / Deuteronomy 3:11 · Remez
כִּי רַק־עוֹג מֶלֶךְ הַבָּשָׁן נִשְׁאַר מִיֶּתֶר הָרְפָאִים הִנֵּה עַרְשׂוֹ עֶרֶשׂ בַּרְזֶל הֲלֹה הִוא בְּרַבַּת בְּנֵי עַמּוֹן תֵּשַׁע אַמּוֹת אָרְכָּהּ וְאַרְבַּע אַמּוֹת רָחְבָּהּ בְּאַמַּת־אִישׁ׃
For only Og king of the Bashan was left of the remnant of the Refaim. Behold, his bed was a bed of iron. Is it not in Rabbah of the children of Ammon? Nine cubits was its length and four cubits its breadth, by the cubit of a man.
Remez רֶמֶז
Praise missing a half
Sometimes one letter of a word is written differently from usual. The scholars read a hint in it: the Torah says less of a villain than it could.
Kitzur Ba'al HaTurim: "is it not" (הֲלֹה) is written with heh, and הל״ה is forty in number: a hint to David, who reigned forty years and took Rabbah of the children of Ammon. Or to Moshe (Moses), ten cubits tall. Midrash Lekach Tov: the Torah praises Og's strength to show Moshe's strength. But heh instead of alef says that not even half his praise was told: one does not say much of a wicked man's glory.
How Kitzur Ba'al HaTurim and Midrash Lekach Tov explain it
Kitzur Ba'al HaTurim Is it not (הֲלֹה)
Written with heh (ה): the one who reigned הל״ה (forty) years will come, and he is the fifth generation: Salmon, Boaz, Oved (Obed), Yishai (Jesse), David, and will take these cities. Another explanation: a hint to Moshe, who was heh and heh (ה ה), ten cubits tall, and jumped ten cubits, and his weapon was ten cubits, and he struck him on the ankle, ten cubits up.
Midrash Lekach Tov For only Og king of Bashan
A bed of iron because of his great strength. And why does Scripture tell his praise? To make known to all the praise of the strength of Moshe our teacher. So too Scripture tells the strength of Golyat (Goliath) to tell of the strength of David. "Is it not (הֲלֹה)": the heh (ה) serves in place of an alef (א). And why is it written with a heh? To tell you that half his praise was not told, for one does not tell so much of the glory of a wicked man. And so it says (Shmuel I / I Samuel 17): "and the shaft (חֵץ) of his spear", which is read (עֵץ). And our teachers, of blessed memory, said: half (חֲצִי) his praise is not written here. And so too "is it not", heh in place of alef. "By the cubit of a man": by the king's cubit, a cubit and a handbreadth. "That is called the land of the Rephaim".
Takeaway
"Is it not" is usually written הֲלֹא, with alef (א) at the end, but here הֲלֹה, with heh (ה). Heh (5) + lamed (30) + heh (5) = 40.
David reigned forty years (Shmuel II / II Samuel 5:4) and took Rabbah of the children of Ammon (Shmuel II / II Samuel 12:29). David's line: Salmon, Boaz, Oved, Yishai, David (Rut / Ruth 4:21–22).
Of Golyat's spear it is written חֵץ and read עֵץ, "shaft" (Shmuel I / I Samuel 17:7). The sages hear in חֵץ the word חֲצִי, "half".
The Talmud says Moshe was ten cubits tall, took an axe ten cubits long, jumped ten cubits and struck Og on the ankle (Berakhot 54b).