Jeremiah 22:3

Thus saith the LORD; Execute ye judgment and righteousness, and deliver the spoiled out of the hand of the oppressor: and do no wrong, do no violence to the stranger, the fatherless, nor the widow, neither shed innocent blood in this place.

The command is addressed to kings, officials, judges, rulers and their people to execute fair judgment and righteousness in practice. That means actively rescuing the oppressed, exploited and robbed out of the hand of their oppressors. It means doing no wrong and no violence to the stranger or foreigner, the fatherless or orphan, and the widow. It means shedding no innocent blood by killing the innocent.

The requirement reveals God's special care for the vulnerable and places judges under responsibility to protect their rights. A judge who lets power defeat justice therefore betrays that trust and enables oppression.

In its context the surrounding promise makes obedience to God's commandments the condition for continued blessing and for the preservation and continuance of David's royal house with its kings and rule in Jerusalem. Obedient rule would preserve its kings, while refusal and disobedience would bring desolation. God's commandments were given for His people's good and protection, and obedience is their life and brings reward. Doing justice and judgment is a way to be honored by God. The verse calls God's people to do justice and judgment, and heeding this injunction and putting away practices that dishonor God brings His blessing.