Is this grammatically correct?

However, through influence by Lord Henry Wotton with his words, “Don’t squander the gold of your days, listening to the tedious, trying to improve the hopeless failure, or giving away your life to the ignorant, the common, and the vulgar” (Wilde 24), he becomes introduced to the concept hedonism.

That is extremely awkward. How can you revise to make it smooth without including the entire quotation?