So I read that scientists have discovered a black hole then a huge hole in the sun
A sunspot? They aren't holes exactly. They are places where the Sun's surface isn't quite as bright as the rest of the surface. This is believed to be because the Sun's very active magnetic field is preventing hot plasma from the interior from rising to the surface in those areas. So they might better be thought of as clogs than holes.
The concentration of magnetic field in those regions can suddenly release and produce solar flares. These won't burn up the Earth, but they might interfere with radio communications and produce extraordinarily bright auroras.
-- so what's to say the sun will definitely burn up and the Earth will not be existing any more? You can debate all you want to, but I am convinced science does not have the "answers" to life.
I don't expect the Sun to destroy the Earth for a long time yet. Billions of years. Humans are unlikely to even be around then.
As to whether science has the "answers to life", that depends on what questions are being asked. Science has lots of answers
about life, but there's still a tremendous amount that science just doesn't know. From how to define 'life' in the first place, through how life originated, through what other kinds of 'life' are possible out there in the universe (which depends on how we define it).
Science is making great strides in understanding how life develops from fertilized egg to complete organisms, the role of the genome in that, and evolution has supplied an over-arching paradigm that makes sense of much of what's observed in biology and its deep history from its unknown origins to now.
But it's still baby-steps.