“And though hard be the task,
"Keep a stiff upper lip."”
Keep a stiff upper Lip, reported in Bartlett's Familiar Quotations, 10th ed. (1919).
Phoebe Cary was an American poet, and the younger sister of poet Alice Cary . The sisters co-published poems in 1849, and then each went on to publish volumes of their own. After their deaths in 1871, joint anthologies of the sisters' unpublished poems were also compiled. Wikipedia

“And though hard be the task,
"Keep a stiff upper lip."”
Keep a stiff upper Lip, reported in Bartlett's Familiar Quotations, 10th ed. (1919).
Reported in Josiah Hotchkiss Gilbert, Dictionary of Burning Words of Brilliant Writers (1895), p. 596.
Nearer Home, reported in Bartlett's Familiar Quotations, 10th ed. (1919).
The Wife, reported in Bartlett's Familiar Quotations, 10th ed. (1919). The second stanza is also found in James Aldrich, A death-bed.