King Limhi was a righteous man and accordingly took care of the needs of those who had lost husbands and fathers in the wars with the Lamanites. He would have been more wise to have forbidden his people to fight against the Lamanites in the first place, but at least he understood the principle of righteousness which James calls pure 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 (James 1:27).