The only way to do great work is to love what you do.
Attribution checked
Quothly found supporting evidence for this attribution.
The exact line "And the only way to do great work is to love what you do." appears in Steve Jobs' prepared Stanford commencement address delivered June 12, 2005 (transcript published by Stanford).
Stanford Report — 'You’ve got to find what you love,' Steve Jobs (2005 commencement address)