No good deed goes unpunished.:
Due to the cruelty, ignorance, or selfishness of the world or others, one's good deeds or good intentions will often result in more trouble than they are worth.
https://idioms.thefreedictionary.com/No+good+deed+goes+unpunished[The Free Dictionary]