While we as human beings can learn to make good choices, only God consistently does what is right, never getting it wrong or making a mistake. Over and over again in the Old Testament, we read, "The Lord is righteous," or, "You, Lord, are righteous."
So, only He deserves the name, Yahweh Tzaddik - the Righteous Lord.