whatever grandcourt had done , he had not ruined himself ; and it is well-known that in gambling , for example , a man who has the strength of mind to leave off when he has only ruined others , is a reformed character .