Assuming we don't have free will, why do we have the illusion that we do?
Three possibilities come to mind:
Is there an evolutionary purpose?
Does it arise as a consequence of our mental activities, a sort of side effect of our thinking?
Is it given a priori (something we have to think in order to think at all)?
EDIT: Thanks for all the responses! Just one thing I saw come up a few times I'd like to address: a lot of people are asking 'Why assume this?' The answer is: it's purely rhetorical! That said, I'm happy with a well thought-out 'I dispute the premiss' answer.
That's a very large assumption. The simplest explanation is that we feel like we have free will because we do. Quantum mechanics suggests some major challenges to determinism, and the best arguments to restore it require a very unsatisfying amount of magical thinking.