You need to dress for it (7)
I believe the answer is:
decency
'it' is the definition.
The definition suggests a singular noun which matches the answer.
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for decency that I've seen before include "proper behaviour" , "Propriety" , "Seemliness" , "Acceptable behaviour" , "It's the right thing to do" .)