This implies that what Yahweh has done, he has done because he is righteous. Alternate translation: "Yahweh has acted out of his righteousness" or "What Yahweh has done is right"
Here all of the people of Jerusalem who were taken into captivity are represented by the "virgins" and the "vigorous men" who were taken. Alternate translation: "Many of my people, including my virgins and vigorous men, have gone into captivity" (See: [[rc://en/ta/man/jit/figs-synecdoche]])