Deut 2:10 `The Emim formerly have dwelt in it, a people great, and numerous, and tall, as the Anakim;
11 Rephaim they are reckoned, they also, as the Anakim; and the Moabites call them Emim.
20 `A land of Rephaim it is reckoned, even it; Rephaim dwelt in it formerly, and the Ammonites call them Zamzummim;
The legendary giants went by a number of names. Nephilim, Rephaim, Anakites, Emin and others.
I'll also repeat what I said on another thread, Nimrod was one of the Nephilim, "mighty ones" a child of the gods.
The Flood story (and tower story) interrupts the narrative. The table of 70 nations is itself also an earlier addition.
Of course famously Goliath of Gath is said to be Rephaim and a giant. He is killed in one legend by David in another by Elhanan. Also, Og and Dodo and another giant described only as having 24 toes and fingers.