Thomas Jefferson said this quote

When we see ourselves in a situation which must be endured and gone through it is best to make up our minds to meet it with firmness and accommodate everything to it in the best way practical. This lessons the evil while fretting and fuming only serve to increase your own torments.