If you live each day as if it was your last someday you'll most certainly be right.
Attribution checked
Quothly found supporting evidence for this attribution.
Steve Jobs himself quoted that wording in his public remarks (he said, “When I was 17, I read a quote that went something like: 'If you live each day as if it was your last, someday you'll most certainly be right.'”), which a documented transcript/report of his Stanford/other public remarks records.
CBS News