This is just one of many contradictions in Islam and Quran. Take these issues:
What does Allah do with apostates?
Punishes them:
But if any turn away and reject Allah,- Allah will punish him with a mighty Punishment, Quran 88:23-24
Does not care:
There was indeed in them an excellent example for you to follow,- for those whose hope is in Allah and in the Last Day. But if any turn away, truly Allah is Free of all Wants, Worthy of all Praise. Quran 60:6
Is there compulsion in Islam?
No:
Unto you your religion and unto me my religion
Quran 109:6
Yes:
I will cast terror into the hearts of those who disbelieve. Therefore strike off their heads and strike off every fingertip of them
Quran 8:12
Will Allah reward the good deeds of non-Muslims?
No:
It is not for such as join gods with Allah, to visit or maintain the mosques of Allah while they witness against their own souls to infidelity. The works of such bear no fruit: In Fire shall they dwell.Quran 9:17
Yes:
And whoso doeth good an atom’s weight will see it then Quran 99:7
Who sends disbelievers astray?
Allah:
Allah leaves stray whom He wills and guides whom He wills. Quran 35:8
Satan:
Who whispereth in the hearts of mankind
Quran 114:5
You can read more:
Of course, the excuse is that many of these verses have been abrogated (cancelled) as it seems Allah “who does not change” does change his mind!
https://wikiislam.net/wiki/Contradictions_in_the_Quran