Literal Standard Version
6 and the heads of Israel are humbled—and the king—and they say, “YHWH [is] righteous.”