The Quran itself testifies that Allah did not uphold His own covenant. If a truly omnipotent God existed, it would be impossible for Him to break His promises.

During the Battle of Hunayn (8 AH), the faith of the Prophet's closest companions, the Sahabah, was so weak that they repeatedly fled the battlefield, leaving Muhammad alone.

(Al-Quran 3:153) "Remember when you fled without looking at anyone while the Messenger was calling you from behind."

Even before Hunayn, during the Battle of Uhud (3 AH), the Sahabah abandoned Muhammad, leaving him at the mercy of the enemy. Because of this, Allah took a solemn promise from them that they would never again desert the Prophet in battle. If they did, Allah would severely punish them and cast them into eternal hellfire.

(Al-Quran 8:15-16) "O believers! When you face the disbelievers in battle, do not turn your backs to them. And whoever does so on such an occasion, unless it is a strategic retreat or joining another fighting force, will certainly incur the wrath of Allah, and Hell will be their home—what an evil destination!"

Did the Sahabah keep this promise? No. During the Battle of Hunayn, they again abandoned Muhammad, despite his calls to them. The Quran confirms this:

(Al-Quran 9:25) "Allah has already given you victory in many regions and [even] on the day of Hunayn, when your great numbers pleased you, but they did not avail you at all, and the earth was confining for you with [its] vastness; then you turned back, fleeing."

Thus, the Sahabah broke their promise once more. Allah had vowed during the Battle of Uhud that anyone who fled the battlefield would incur His wrath and be consigned to Hell.

Yet, instead of keeping this promise, Allah forgave the fleeing Sahabah after the Battle of Hunayn, contradicting His previous covenant. The Quran states:

(Al-Quran 9:27) "Then Allah will accept repentance after that from whom He wills; and Allah is Forgiving and Merciful."

It is evident that threatening such a large group of Sahabah with wrath and Hell was beyond the Prophet's power. To manage this, Muhammad fabricated a verse of forgiveness, forgetting his earlier declaration of wrath for those who fled.

This kind of breaking the own covenant does not befit an all-powerful deity who claims in the Quran:

"You will never find any change in Allah's way (48:23)."

"And who is more faithful to his covenant than Allah? (9:111)."

"Allah does not like those who betray (8:58)."

However, this kind of breaking the own covenant fits someone who falsely claims prophethood and, under pressure, breaks his old covenant and invents a new verse of forgiveness to maintain the loyalty of the Sahabah.