"And indeed, he is, to that, a witness"—meaning: to his own disbelief on the Day of Resurrection.
﴿وَإنَّهُ على ذَلِك لشهيد﴾ يَعْنِي: عَلَى كُفْرِهِ يَوْمَ الْقِيَامَةِ