Nobody knows when their life will end. The practical response is to attend to faith, worship, honesty, and other people's rights now. Concern for one's ending should lead to reform rather than claims about another person's final standing.
Example 1: Return something wrongfully taken and seek forgiveness for an injury caused.
Example 2: When religious duties are neglected, correct the pattern rather than treating neglect as permanent.
مَاتَ is a past-tense verb, “died.” The pronoun in عَلَيْهِ points back to the state or manner previously mentioned.