he [the LORD] upholdsthe widow and the fatherless,
but the way of the wickedhe brings to ruin.
Such a structure, which isn't in the Hebrew, emphasizes the contrasts between "upholds" and "brings to ruin" and "the widow and the fatherless" and "the wicked."
The NKJV seems to go even a step further:
He relievesthe fatherless and widow;
but the way of the wickedHe turns upside down.
The phrase "turns upside down" highlights the inverted nature of the chiasm.