NET
27 Pure and undefiled religion before God the Father is this: to care for orphans and widows in their adversity and to keep oneself unstained by the world.
Darby
27 Pure and undefiled religion before God and the Father is this: to visit orphans and widows in their affliction, to keep oneself unspotted from the world.
KJV
27 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.