If Jesus was Sinless and had Free Will, how is the rest of creation not a mistake? If it is possible to create beings like Jesus - or to recreate humans as sinless versions of themselves - Was all of creation a mistake?

A mistake that all of History in the Bible attempts to correct? From the initial mistake of not giving Adam and Eve the knowledge to prevent their own mistakes. Through to Jesus coming to correct the initial mistake, only to be the subject of further mistakes. Through to the ultimate correction of the mistake. The destruction of the world.

Doesn't this imply that we are God's mistake?

To be clear, I'm looking for a scripture-based explanation for how the universe was/wasn't a mistake. And by extension if the first, how that can be reconciled with a perfect God.

The wonderful answer to this question by @Richard inspired this question.
First of all you start with a false premise. Jesus was not created! He is the creator. What is possible for him to be and become is not necessarily possible to create.

Secondly, something created in such a fashion that it would remain sinless would make it a very different kind of being than a sinful being that has been redeemed and made perfect out of imperfection. The latter is a MUCH HARDER feat and shows off the glory and the power of Christ.

There is no mistake. From the beginning God set out to do something hard to demonstrate the power of his Son. The history of salvation begins not at the fall of man (as if something went unexpectedly wrong) but before creation itself. Jesus is knows as the Lamb who was slain before the foundations of the world. How salvation would work was decided and implemented and the results written down before man came along to test the plan.


  Revelation 13:8 (ESV)
  and all who dwell on earth will worship it, everyone whose name has not been written before the foundation of the world in the book of life of the Lamb who was slain.