Why is the world going to end and how?

The world is going to end because God will unite heaven with his creation of earth and nobody knows how but the bible says it will end in a ball of fire and nobody knows when the world will end not even Jesus only God knows when the world will end but it doesn't matter when the world will end , be good , respect everyone , and live your life to the fullest of God's commands.