فَمَنْ أَظْلَمُ مِمَّنِ ٱفْتَرَىٰ عَلَى ٱللَّهِ كَذِبًا أَوْ كَذَّبَ بِـَٔايَـٰتِهِۦٓ ۚ إِنَّهُۥ لَا يُفْلِحُ ٱلْمُجْرِمُونَ Qur’an Yunus (10:17)Faman a th lamu mimmani iftar a AAal a All a hi ka th iban aw ka thth aba bi a y a tihi innahu l a yufli h u almujrimoon a
I.e., in the life to come. In this context, the "attributing of one's own lying inventions to God" would seem to apply specifically to the wanton accusation that Muhammad himself composed the Qur'an and then attributed it to God; and the "giving the lie to God's messages" refers to the attitude of those who make such an accusation and, consequently, reject the Qur'an (Razi)