Wilde has to be the quintessential self-loathing homosexual, flying in the face of convention until it had no other choice but to censure him, then lamenting at length about his doleful straits.
However, his life story ended on a happy note, since he repented of his homosexual acts and died a convert to the Catholic church.
Last warning: never mention Mrs. McGreavey on this site again!