Generally if you simplify events like how you listed them in your OP its gets trivialized and results in situations like this where there really not an answer.
What you neeed to do is think about things and consider what is another POSSIBLE alternative to why God created man aside from needing COMPANY..
Its different for everybody but I think we were all created to be able to experience LOVE. That is why people arent as satisfied with money, material things, winning etc as they are with LOVE... love for naruto, love for their parteners, love for their family.
Once youve experienced love for people and you have been loved, your life becomes validated and it seems more worthwhile. At one point the devil experienced the love of GOD but fell from grace by exercising his FREE WILL but i think that love is still available to him.
God creates FREE WILL because TRUE LOVE cannot exist without FREE WILL. He knows the past present and future but does not interfere with that because that removes FREE WILL and prevents us from experiencing LOVE.
I would suggest you look deeper than the logical because as eveolutionist say.. your emotional brain was developed far later than your logical brain meaning its easier to go by logic at free will than it is to go by your emotion..
IT IS ALL UP TO YOU