Do What is Right
Rom 12:17 Do not repay anyone evil for evil. Be careful to do what is right in the eyes of everybody.
Concerning revenge it is said, "Do not take revenge, my friends, but leave room for God’s wrath, for it is written: "It is mine to avenge; I will repay," says the Lord. Rom 12:19 And Do not say,"I’ll pay you back for this wrong!" Wait for the LORD, and he will deliver you." Pr 20:22 "Do not repay evil with evil or insult with insult, but with blessing, because to this you were called so that you may inherit a blessing." I Peter 3:9 And again "Make sure that nobody pays back wrong for wrong, but always try to be kind to each other and to everyone else." 1Th 5:15 Notice how much this instruction is repeated.
A righteous person is one who is governed by the principle of doing what is right because it's the right thing to do. And beyond this we must be careful to avoid an appearance of evil, even if we have no intention of doing evil. Thus for example Paul was careful when it came to managing contributions to others. "We want to avoid any criticism of the way we administer this liberal gift. For we are taking pains to do what is right, not only in the eyes of the Lord but also in the eyes of men." 2Cor 8:20,21 "The man of integrity walks securely, but he who takes crooked paths will be found out." Pr 10:9