Surah [2] Al-Baqara : 216

كُتِبَ عَلَيۡکُمُ الۡقِتَالُ وَهُوَ كُرۡهٌ لَّـكُمۡ‌ۚ وَعَسٰۤى اَنۡ تَكۡرَهُوۡا شَيۡـــًٔا وَّهُوَ خَيۡرٌ لَّـکُمۡ‌ۚ وَعَسٰۤى اَنۡ تُحِبُّوۡا شَيۡـــًٔا وَّهُوَ شَرٌّ لَّـكُمۡؕ وَاللّٰهُ يَعۡلَمُ وَاَنۡـتُمۡ لَا تَعۡلَمُوۡنَ(البقرة :216)

كُتِبَ
Is prescribed
عَلَيْكُمُ
upon you
ٱلْقِتَالُ
[the] fighting
وَهُوَ
while it
كُرْهٌ
(is) hateful
لَّكُمْۖ
to you
وَعَسَىٰٓ
But perhaps
أَن
[that]
تَكْرَهُوا۟
you dislike
شَيْـًٔا
a thing
وَهُوَ
and it
خَيْرٌ
(is) good
لَّكُمْۖ
for you
وَعَسَىٰٓ
and perhaps
أَن
[that]
تُحِبُّوا۟
you love
شَيْـًٔا
a thing
وَهُوَ
and it
شَرٌّ
(is) bad
لَّكُمْۗ
for you
وَٱللَّهُ
And Allah
يَعْلَمُ
knows
وَأَنتُمْ
while you
لَا
(do) not
تَعْلَمُونَ
know

Kutiba 'alaykumu alqitalu wahuwa kurhun lakum wa'asa an takrahoo shayan wahuwa khayrun lakum wa'asa an tuhibboo shayan wahuwa sharrun lakum waAllahu ya'lamu waantum la ta'lamoona

Sahih International:

Fighting has been enjoined upon you while it is hateful to you. But perhaps you hate a thing and it is good for you; and perhaps you love a thing and it is bad for you. And Allah Knows, while you know not.

Tafsir (More Translations)

Complete Indexing of Quran Topics

We have indexed and found 1 verse about or related to (including the word(s)) "Good and Evil, You dislike a thing which is good, and like which is bad".

For your information, the verse as described above: