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]