Etymology
Today it means: Doing what is right. Full definition →
From right + doing.
Etymology from Wiktionary, CC BY-SA 4.0.