Here "judge" is a metonym for what will happen after God makes the judgment. Alternate translation: "I will punish" (See: [[rc://en/ta/man/jit/figs-metonymy]])
The full meaning of this statement can be made explicit. Alternate translation: "that your descendants will serve" (See: [[rc://en/ta/man/jit/figs-explicit]])