Cheer up, the worst is yet to come.
Philander Johnson (1866-1939) American journalist, humorist, lyricist, playwright
“The Colyumist’s Confessional,” Everybody’s Magazine (May 1920)
(Source)
He refers to the phrase as a "rather unfeeling invitation to end a hard-luck story."