means that
someone intensely dislikes the person or thing mentioned; the expression uses an ironic comparison with the devil and holy water.
The saying “To love somebody (or something) as the devil loves holy water” can be used when to show the dislike or hate for somebody or something.