In the Qur'an (7:172), Allah asks humanity, "Am I not your Lord?" and they respond, "Yes indeed, we testify."
In Islamic theology, this is understood as a covenant made before earthly life, in which all human souls acknowledged Allah as their Lord. The purpose is often explained as establishing that humanity cannot claim ignorance of Allah on the Day of Judgement.
However, I struggle to understand how this is fair, or even what the point of the covenant was in the first place.
Consider the circumstances into which people are born. Most people do not choose their parents, country, culture or religion. Someone born into a Muslim household is likely to be taught Islam from childhood, surrounded by people who reinforce those beliefs and raised to regard the Qur'an as the word of God.
Someone born into a Christian, Hindu, Buddhist or other religious household may experience exactly the same upbringing, but with completely different beliefs. They may become deeply attached to their religion because it is all they have known throughout their lives.
Neither person chose these circumstances.
If everyone supposedly acknowledged Allah before birth, why would Allah then place people in environments where they are raised to believe in completely different religions? Many will sincerely believe that their own religion is true, even if they have never been convinced by Islam.
There is also the problem that nobody remembers making this alleged agreement. People cannot recall standing before Allah, acknowledging Him as their Lord or agreeing to be held accountable for that declaration. How can it be fair to hold someone responsible for a testimony they have no conscious memory of making?
There is another question: What was the point of making this covenant if Allah already knew the outcome of every soul? Allah is supposedly all-knowing and already knows who will believe in Islam, who will follow another religion and who will ultimately reject Him. He knows the outcome before anyone is even born. So why put humanity through this covenant and then an earthly test when He already knows exactly how every individual will end up?
Muslims might respond that everyone is born with an innate disposition towards recognising God (fitrah), and that Allah judges people according to the truth that reaches them. They may also refer to Qur'an 17:15, which says that Allah does not punish until He has sent a messenger.
But this raises another question: Allah is supposed to know everything, including how a person's upbringing, family, culture and experiences will influence their beliefs. He knows that many people will grow up deeply committed to religions other than Islam.
So why create people in circumstances that make them more likely to follow other religions, while expecting them to recognise and accept Islam?
If Allah already knows the circumstances into which every person will be born, how those circumstances will influence their beliefs and what their final outcome will be, how is this entire arrangement fair? And what purpose does the primordial covenant serve if the outcome was already known?