Why did God create Satan?

Recently we had a discussion about evil and Satan.

We are told God created an Angel who disobeyed God and he is the Devil.

As God is omnipotent, how come he did not know that this Angel will disobey him at the point of creation. If God knew about this, why did he end up creating that Angel?

If God is omnipotent, how did he not know that one of his created Angels will disobey him?

This is a question asked from me by a non-believer.

If God is omnipotent (knows all), why did he create Lucifer? Didn’t he know that Lucifer will turn against him?

How can I give a satisfactory answer to this question. Answers like this is Gods way or we cannot understand his ways are not acceptable.

The following links should assist you in better understanding the Catholic Church’s teaching on the existence of evil. If you have any further questions or concerns that are not answered by these links, please contact Catholic Answers directly.

Recommended Reading:
Why evil?
]* The origin of evil **
]* Why did God create Satan?**

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.