As I explained it before there are two kinds of ignorant: 1.Culpable ignorant 2.Inculpable ignorant
The first group deserves to be punished due to neglecting the duty of finding the TRUTH. Although they have the opportunity to go in search of convincing answers for a few crucial and fundamental Questions about their destiny and eternity! they irresponsibly ignore it. see how the verse is interpreted by a Hadith from Imam Kadim (peace be upon him)
رُسُلاً مُبَشِّرينَ وَ مُنْذِرينَ لِئَلاَّ يَكُونَ لِلنَّاسِ عَلَى اللَّهِ حُجَّةٌ بَعْدَ الرُّسُلِ وَ كانَ اللَّهُ عَزيزاً حَكيماً
apostles, as bearers of good news and warners, so that mankind may not have any argument against Allah, after the [sending of the]
apostles; and Allah is all-mighty, all-wise.(4:165)
عَنْ هِشَامِ بْنِ الْحَكَمِ قَالَ قَالَ لِي أَبُو الْحَسَنِ مُوسَى بْنُ جَعْفَرٍ ع...يَا هِشَامُ إِنَّ لِلَّهِ عَلَى النَّاسِ حُجَّتَيْنِ
حُجَّةً ظَاهِرَةً وَ حُجَّةً بَاطِنَةً فَأَمَّا الظَّاهِرَةُ
فَالرُّسُلُ وَ الْأَنْبِيَاءُ وَ الْأَئِمَّةُ ع وَ أَمَّا الْبَاطِنَةُ
Imam Kazim (peace be upon him) said to Hisham bin Hakam: O Hisham,
Allah has placed two kinds of authority over man:the apparent and
manifest authority and the internal and hidden authority. The prophets
and messengers are the apparent and manifest authorities and
intelligence is the hidden and internal authority. (Al-Kafi Volume 1.
Intelligence is the hidden messenger with which no argument against Allah can be made just as mankind may not have any argument after sending of apparent messengers.
The second group does not deserve any punishment because they've done their utmost to seek the TRUTH but due to certain reasons they've failed to discover it. For instance they live in a country whose government is isolating people from hearing the true call of Islam through spreading poisonous propaganda against it.
لا يُكَلِّفُ اللَّهُ نَفْساً إِلاَّ وُسْعَها
Allah does not task any soul beyond its capacity(2:286)