Every human being was created with the potential and ability to reach Paradise as their final destination. If someone’s final destination is Hell, it is only because they chose to go out of their way to disobey Allāh (SWT) and commit evil. As Imām al-Sajjād (A) once remarked, it is not a surprise for someone to achieve Paradise. However, given the endless Mercy of Allāh (SWT), it is a great surprise and shock how someone can end up in Hell. They must have been extremely wretched people!
Having said that, if Allāh (SWT) had only created those human beings who would end up going to Paradise, this would have nullified the whole purpose of the test of this world. The potential for some people to end up going to Hell is a logically necessary part of the free will given to man.
It is also important to remember here that Divine Knowledge of every human being’s eventuality in the Hereafter does not equate to pre-destination.