When the Verse:--'Those who believe and did not confuse their belief with wrong (worshipping others besides Allah).' (6.82) was revealed, it was hard on the companions of the Prophet ﷺ and they said, "Who among us has not wronged (oppressed) himself?" Messenger of Allah ﷺ said, "The meaning of the Verse is not as you think, but it is as Luqman said to his son, 'O my son! Join not in worship others with Allah, Verily! Joining others in worship with Allah is a great wrong indeed.'" (31.13) (Using translation from Bukhārī 6937)
لَمَّا نَزَلَتْ {الَّذِينَ آمَنُوا وَلَمْ يَلْبِسُوا إِيمَانَهُمْ بِظُلْمٍ} [الأنعام 82] شَقَّ ذَلِكَ عَلَى أَصْحَابِ رَسُولِ اللهِ ﷺ وَقَالُوا أَيُّنَا لَا يَظْلِمُ نَفْسَهُ؟ فَقَالَ النَّبِيُّ ﷺ لَيْسَ هُوَ كَمَا تَظُنُّونَ إِنَّمَا هُوَ كَمَا قَالَ لُقْمَانُ لِابْنِهِ {لَا تُشْرِكْ بِاللهِ إِنَّ الشِّرْكَ} [لقمان 13] لَظُلْمٌ عَظِيمٌ