Sure Al-Anfaal

8:23

وَلَوْ عَلِمَ ٱللَّهُ فِيهِمْ خَيْرًۭا لَّأَسْمَعَهُمْ ۖ وَلَوْ أَسْمَعَهُمْ لَتَوَلَّوا۟ وَّهُم مُّعْرِضُونَ

Wenn Allah von ihnen etwas Gutes gewußt hätte, hätte Er sie wahrlich hören lassen. Und wenn Er sie hätte hören lassen, so hätten sie sich dennoch widerstrebend abgekehrt.

Tafsir 8:23

If Allah knew that there was good in these idolaters who reject the truth, He would have made them listen in a way that was beneficial to them, so that they would understand the proof and evidence; but He knows that there is no good in them, and that if He made them hear, they would still turn away stubbornly, rejecting what they heard.