So, first question, God intends to defeat Satan. In fact, Satan is already defeated. However, the sentence is carried out on a future date.
The issue boils down to us.
God wants us to willingly choose Him, we chose sin in the Garden. God, however, is doing things so no one has any excuse.
Atheists ask, "Why doesn't God just destroy evil?" He did with the flood.
"Why doesn't God just come down and reveal Himself?"
He did, humanity killed Him.
"If God was just more lenient, then I'd follow, His rules are too hard."
We're in the age of grace where simply belief in Him brings salvation.
"Why doesn't God just beat the devil? Life is too hard."
That's in a coming age where even when He rules physically on earth, everything is in peace, people are STILL going to deny God and try to war against Him.
When the day of judgment comes, every atheist argument for why God shouldn't be followed and why He doesn't exist will have been addressed in different time periods, revealing that they have no actual argument against God, they just simply don't want God in the first place.
This is why Hell will be just and none will be without excuse.
Why did He create Satan?
Because Satan was inevitable.
Pride is something that seeps in and corrupts.
The fact is, Satan is actually pretty weak. At the end of the day he's a band kid that thought too highly of himself. He gets manhandled by a no named angel.
Christians give him way too much power, when he really doesn't have any.
All he can do is tempt.
Satan has the power of a doughnut.
Giving into the temptation? That's all you.
The question isn't "Why did God create Satan?"
The question you should ask, "Why did God create me?"