"what Yahweh judged to be right" or "what Yahweh considered to be right"
"as long as Jehoiada, the priest, was alive."