Earlier quoted context omitted.
> Of course, in real life, we do have this constraint Which IMO is what causes confirmation bias. But science should strive to get rid of confirmation bias as much as possible.
Your comment is vacuous if you don't expand on it; it goes without saying we want to try to minimize bias as much as possible. Science is part of a world of limited resources too, and investigators have to decide what experiments to try, what topics to pursue
Any scientist will be subject to cognitive bias at some level (if only by choosing the core principles and axioms on which their reasoning is based), but there are systematic ways to mitigate it. Applying more resources to a particular problem will get rid of at least the superficial levels of cognitive bias.