Which work by Oscar Wilde includes the statement “I can resist everything except temptation”?

Lady Windermere’s Fan (1892) by Oscar Wilde includes the statement “I can resist everything except temptation”.