‘Cursed is he who withholds justice from the foreigner, the fatherless, or the widow.’ And let all the people say, ‘Amen!’
When the law was written, to be seen and read by all men, the sanctions of it were to be published, which, to complete the solemnity of their covenanting with God, they were deliberately to declare their approbation of. This they were before directed to do (Deu 11:29, Deu 11:30), and therefore the appointment here begins somewhat abruptly, Deu 27:12.
Commenting on Deuteronomy 27:11-26
Cursed be he that perverteth the judgment of the stranger, fatherless, and widow,.... Who have none to assist them, and take their part, and therefore judges may be tempted to do an unjust thing; but God is the patron of them, and takes notice of every injury done them, and is the avenger of all such: and all the people shall say Amen; See Gill...