When Wilde wrote that all excess as well as all renunciation brings its punishment, he evidently had in mind the contrast between Basil, who can conceive of his love for Dorian only in abstract terms, and Dorian, who is so intent on embracing the physical that he loses his mind.
NEWYORKER: Deceptive Picture