Hezekiah

Hezekiah was an evil king of Judah, got sick, and was given a space of 15 years longer to live after he turned to Yahweh. I think the evil, when and if they repent, are given time to be tested of their repentance.