Nobody was created to go to hell. After God created everything, He declared all of creation as very good. This includes us and implies that humanity was created perfect, with no flaws. He did not fail. He decided to give us our agency so that we could choose for ourselves. Because of this, we are able to choose to follow His will or not. Adam and Eve chose not to disobey God's direct command by eating from the tree of knowledge of good and evil. After Adam (mankind) sinned, God cursed all of creation as punishment, and at the same time created a path to salvation, Jesus.
In order to identify who is going to hell, you first need to understand what hell is and is not. The commonly portrayed hell is completely wrong. It is NOT the lake of fire and brimstone. It is not a place of eternal torment. It is not ruled by Satan. What hell IS is a place that people go that have not accepted the path to salvation (Jesus) before death. It is a learning place where they will be given the truth.
Nobody is created to go to hell. But there are people that will harden there hearts to Gods word and end up there. There are people that will never hear about God in life, and end up there. These people will be unhappy because they will feel the full weight of there sins. However, they will be given God word and an opportunity to accept salvation through Jesus. On judgment day, hell will be emptied and hell itself thrown into the lake of fire and brimstone and destroyed.
The bottom line is this. God knows what choices a person will make. His plan includes countering those that go against him, like the Pharaoh. That person was not created to go to hell, they still have agency to choose for themselves, and could have chosen to do good. Anyone who accepts Christ will go to heaven, even if they die, go to hell, and accept him there. God wants all to be saved and will give you every opportunity to have and accept salvation.
Here are some references: righteous spirits are assigned to Paradise (Revelation 2:7), unrighteous spirits are assigned to hell (Psalm 55:15), Gospel preached to spirits in hell (1 Peter 4:6), Christ preaches to spirits in prison (hell) (1 Peter 3:18-19), Death and hell will be will be cast into the lake of fire (Revelation 20:14)