Here the metonym "out of the hand of" means "from the control of." AT: "from the control of the two kings" or "from the two kings" (See: [[rc://en/ta/man/translate/figs-metonymy]])
This refers to the land across the Jordan River, to the east of Israel. Moses was east of the Jordan when he said this. See how you translated this in [Deuteronomy 1:1](../01/01.md). AT: "east of the Jordan River"