He forswore his old habits and started a new life.
He chose to forswear all bad habits after his illness.