Fetching details from the dictionary...
to incur the wrath of the gods (e.g. by doing something immoral); to incur divine punishment; to pay for one's sins