Al-Baqarah - 2:56

ثُمَّ بَعَثْنَاكُم مِّن بَعْدِ مَوْتِكُمْ لَعَلَّكُمْ تَشْكُرُونَ
[2:56]
Then We raised you up after your death that you may give thanks.
Then We raised you up after your death: Ye had the chance to be grateful.
Then We revived you after your extinction, that ye might give thanks.