"what Yahweh judges to be right" or "what Yahweh considers to be right". See a similar phrase in 2 Chronicles 14:2.