Quran 2:216 from Surah Al-Baqara on Divine Marvels.
كُتِبَ عَلَيۡكُمُ ٱلۡقِتَالُ وَهُوَ كُرۡهٞ لَّكُمۡۖ وَعَسَىٰٓ أَن تَكۡرَهُواْ شَيۡـٔٗا وَهُوَ خَيۡرٞ لَّكُمۡۖ وَعَسَىٰٓ أَن تُحِبُّواْ شَيۡـٔٗا وَهُوَ شَرّٞ لَّكُمۡۚ وَٱللَّهُ يَعۡلَمُ وَأَنتُمۡ لَا تَعۡلَمُونَ
English translation: 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
Transliteration: kutiba alaykumu al-qitalu wahuwa kur'hun lakum wa'asa an takrahu shayan wahuwa khayrun lakum wa'asa an tuhibbu shayan wahuwa sharrun lakum wal-lahu ya'lamu wa-antum la ta'lamuna