Jesus teaches about anger
21 Jesus then said, ‘You know the commands that God gave to your ancestors: “You must not murder anyone. Anyone who does murder will stand in front of a judge. The judge will punish him because he has done a wrong thing.” 22 But what I now say to you is this. Anybody who is angry with his brother will have to stand in front of a judge. If someone calls his brother by a bad name, he will have to stand in front of the Jewish leaders. They will judge him. But if someone says to his brother, “You are a useless fool,” that person deserves punishment in the fires of hell.
5:22‘Brother’ probably means any friend or other person that you know.
23 Maybe you go to the temple to give your gift to God. You take it to the altar. But then you remember that your brother is angry with you. 24 You must leave your gift there in front of God's altar. First you must go and find your brother. Tell him that you are sorry. Then you can both become friends with each other again. After that, you can return to the altar and give your gift to God.
25 Also, somebody may say that you have done something wrong against him. He may take you to stand in front of the judge. You should quickly try to agree with this person. Decide with him how to make things right again. Do this even while you are going with him to the judge. If you do not do that, the judge may agree that you have done a wrong thing. Then he will give you to his officer. His officer will put you in prison. 26 I tell you this. You will remain in prison until you have paid all the money, even the last small coin.’