While the story of Joseph forgiving his 10 half-brothers in the Hebrew scriptures and the story of the father forgiving his Prodigal Son in the Christian scriptures center on family issues, there are other passages showing the importance of forgiving people who are not family. Consider the parable of the unforgiving servant in Matthew chapter 18. In this story, the king forgives a servant who owes a large debt. That servant then refuses to forgive the debt of another servant, who is not a family member. The king is very unhappy about this lack of forgiveness. In the Lord’s Prayer or Our Father in Matthew chapter 6, people are exhorted to forgive and this is not centered on family members only. Thus, it appears that scripture does not focus on family only when teaching us about the importance of forgiving others.
For additional information, see the “Faith and Religion” page on this website.