A servant who deals wiselyHas the king's favor,
But his wrath falls onOne who acts shamefully.
Such a structure highlights the opposite nature of how the two servants behave (wisely or shamefully) and of the king's disposition toward them (favor or wrath).
The NIV has a similar structure but in a different order:
A king delights inA wise servant,
But a shameful servantIncurs his wrath.
This structure isn't in the Hebrew, though, or in any of the other translations I referenced.