Well that was Oscar Wilde’s point , the evil we do eventually catches up with us. Wilde while floridly queer actually was a rather serious individual and something of a moralist.
I understand he died a repentant man.