"The righteous (Tzaddikim) experience joy on the day of their departing. Death is joy both for the good and the wicked. For the good, it marks leaving the corridor behind and entering the palace - the shedding of the physical, and the donning of the spiritual clothing. For the wicked it marks the rescue from descending further into the inferno, from which he cannot be extricated. If not for death, the evildoer would never stop dong his evil." This is stated in the Zohar (Vayechi)