Abraham Lincoln actually said...
At this time of public distress, men may find enough to do in the service of God and their country without abandoning themselves to vice and immorality.
Context
Executive Order—General Order Respecting the Observance of the Sabbath Day in the Army and Navy
11/14/1862