When a righteous person stops doing good and starts doing evil and then dies, he dies because of the evil he has done.