Why would god burn people who do not believe in him even if they're good humans?

1- What’s your definition of a good human?

Please see this video:

https://youtu.be/twj-c51WH3Y

2- Those who are truly good but are ignorant, Allah forgives them. Allah punishes those who are stubborn and arrogant.

3- The fire hell is a natural consequence of our actions. If someone drinks poison, they got poisoned. Hell is the spiritual poison people cause to their souls.

4- God is merciful but he is also just. Justice necessitates punishment for the stubborn criminals. Yes Allah’s mercy comes before his justice, so anywhere there is room for forgiveness Allah forgives.