Expresses the meaning of 'without worth', 'in vain', 'fruitless'.
Long explanation:
The ~かいもなく grammar point is used to express that something has been done without worth, in vain, or fruitlessly. It can be attached to verbs in their ます stem or dictionary form to indicate that the effort has been wasted or the action did not produce the expected results.