It is, because you are wasting time reinventing the wheel. Also if something is already well researched, you might miss intricacies, traps, optimizations etc. previous researchers have stumbled upon.
It’s a powerful skill to be able to try to solve things from first principles. And it’s a muscle you can strengthen.
It would be a bit silly to never look anything up, but it isn’t so black and white.
Only reading the existing literature is not good enough.
The capacity to create ideas is also something that needs to be practiced.