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.