In his own words
“These are the times that try men's souls: The summer soldier and the sunshine patriot will, in this crisis, shrink from the service of his country; but he that stands it now, deserves the love and thanks of man and woman. Tyranny, like hell, is not easily conquered; yet we have this consolation with us, that the harder the conflict, the more glorious the triumph.”
Thomas Paine, The American Crisis, Number I, December 1776. Text checked against the 1776 Norwich, Connecticut printing (John Trumbull) as transcribed in the Evans Early American Imprint Collection, University of Michigan Library. Boston printing · collection record
What was happening
Paine wrote this in December 1776, after retreating across New Jersey with Washington's army. The British had just offered a pardon to any American who would swear allegiance to the King. He had the essay printed in Philadelphia on December 19th, and a week later the army crossed the Delaware and took Trenton.

