Exodus 22 is a continuation of the judgements of property in the latter part of Exodus 21.

The verses that stuck out to me are verses 22-24 where God talks about those who cause affliction to widows and fatherless children, In verse 24 he says “And my wrath shall wax hot, and I will kill you with the sword; and your wives will be widows and your children will be fatherless.

I think this verse draws a parallel to James 1:27 where he talks about pure, undefiled religion.

Pure religion and undefiled before God and the Father is this, To visit the fatherless and widows in their affliction, and to keep himself unspotted from the world.

I think as Christians, we need to stand up against any persecution of vulnerable classes of people.