The objection has real force against a crude slogan like "your birth label decides your eternity." But that is not the Islamic teaching: Allah judges people by truth made available to them, their capacity, their sincerity, and their response to guidance.
The worry, stated at its strongest
The critic is not merely saying, "Some people are influenced by family." He is pressing a moral point: if a child born in Cairo usually becomes Muslim, and a child born in Delhi or Dublin usually does not, then eternal salvation seems tied to geography and parents. The baby-swapping example sharpens this: switch two infants at birth, and each may grow up convinced of the other household's religion through no fault of his own.
He then asks about people who never heard of any prophet, or only heard a distorted caricature of religion. Would a just God punish them forever for not accepting a message they never truly received?
What the Quran actually denies
The Quran repeatedly denies that Allah punishes people blindly, arbitrarily, or without proof being established against them.
"And We never punish until We have sent a messenger."
Quran 17:15
"Allah does not burden a soul beyond its capacity."
Quran 2:286
"Messengers as bringers of good news and warners, so that mankind would have no argument against Allah after the messengers."
Quran 4:165
These verses matter. They mean that accountability is not based on the passport, surname, or religious box someone inherited. It is based on whether guidance reached him in a way he could recognize and respond to, and what he did with the light he was given.
The Prophet (PBUH) also taught that the original human nature is not born guilty or damned:
"Every child is born upon the fitrah, then his parents make him a Jew, a Christian, or a Magian."
Sahih al-Bukhari and Sahih Muslim
This hadith acknowledges the very thing the critic observes: upbringing has a massive effect. Islam does not deny that. It places that fact inside divine justice, not outside it.
Birth influences, but it does not replace moral agency
People are shaped by family, language, trauma, education, propaganda, and social pressure. Allah knows all of that with perfect knowledge. A village elder who never heard the Quran except as an enemy's slur is not the same as a person who recognizes the truth, then rejects it out of pride, fear of losing status, or love of sin.
Classical scholars discussed those who lived in a gap between prophets, isolated peoples, children, and those incapable of understanding. They are often called "ahl al-fatrah." There are details and disagreements, but the central principle is clear: Allah does not wrong anyone, and no one is condemned for an impossible duty. Some scholars held that such people are excused; others held that Allah tests them in a way known to Him. Either way, they are not treated as if they knowingly rejected a clear message.
At the same time, Islam does not say environment removes all responsibility. Many people question inherited beliefs. Many recognize moral truths even against their tribe. Many converts enter Islam against family and culture; many born Muslims neglect or reject what they were given. Being born Muslim is not a magic ticket, and being born elsewhere is not automatic damnation.
What the argument proves - and what it does not
The argument proves that a simplistic view of salvation by inherited label would be unjust. It also proves that human beings should be humble when speaking about the fate of specific individuals. We do not know what each person truly understood, what evidence reached them, what wounds distorted their perception, or what choices they made in private.
But it does not disprove divine judgment, nor does it show that creed is irrelevant. If God exists and reveals truth, then knowingly accepting or rejecting that truth is morally serious. Islam's claim is not that God runs a lottery of birth. It is that God sends guidance, knows every soul completely, and judges with a justice finer than any human court could manage.
So the Muslim answer is plain: yes, birth powerfully affects belief; no, Islam does not make eternal fate depend on birth alone. The Judge is the One who knows every circumstance, every opportunity, every doubt, and every sincere turning of the heart.