Having wrecked it, you'd called for righteousness! (9)
I believe the answer is:
rectitude
'righteousness' is the definition.
(rectitude is a kind of righteousness)
I don't understand the rest of the clue.
Can you help me to learn more?
(Other definitions for rectitude that I've seen before include "Moral integrity" , "Uprightness, integrity" , "Strict propriety" , "Correctness" , "Certitude about moral goodness" .)