When a prayer or other religious/superstitious attempt to get something backfires in an ironic way.
Person A: I made a wish in the wishing well to become richer, but I ended up dropping my wallet in it. Person B: Holyluia.