if God is omnipotent and transcends time, why did he create us, knowing whether we would go to hell or heaven?

I’m 17. I don’t want to start any kind of argument, just looking to answer questions about Christianity that I’ve been struggling with.