Genesis 1:1 In the beginning God created the heaven and the earth.
Matthew 24:41 Then he will say to those on his left, ‘Depart from me, you cursed, into the eternal fire prepared for the devil and his angels
God created the heavens and the earth in the beginning. "Hell" is a place of eternal torment and separation from God, prepared by God for the devil and his angels. Sin against God will be eternally punished. That's why God prepared it for the devil and his angels that rebelled against Him. If you, in your life until death, rebel against Him and sin against Him, you will be judged for that and be sent to the place that was prepared for others. But The Lord Jesus Christ's death on the cross served as the propitiation for the sin of those who believe in Him and walk with Him in faith. Persevering until the end.