You will need to survive hostile mobs and keep grinding your way by mining ores.
However, when the Sun goes down and the night settles in, Minecraft can become a hostile place. The game has a night and day cycle system that all players enjoy. It makes the world feel more alive and it allows for different gameplay mechanics to be introduced. Modern games have a night and day cycle for a good reason.