Contempt for a futile action (7)
I believe the answer is:
mockery
'contempt' is the definition.
(thesaurus)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for mockery that I've seen before include "Derision" , "Ridicule" , "Travesty" .)