In the face of sin and failure, the temptation to wallow in despair and do nothing comes from the devil, Pope Francis said.