If I tell a good person that they will live and then they rely on their goodness and start sinning, then none of the good things they did will be remembered; he will die because of the sins.