Trying a case you expect to pass feels like checking
Once you have a judgment, you tend to test it on cases you expect to pass. Every pass feels like one more check; testing cases that might fail risks showing you that you were wrong. But this kind of checking can't tell right from wrong.
Someone says "2, 4, 6" fits a rule they have in mind. You name three numbers, and they answer yes or no. Your guess is "each number is 2 more than the one before." You try 4, 6, 8: yes. You try 10, 12, 14: yes. You try 100, 102, 104: yes again. But the real rule is "any three numbers going up," and it says yes to all three of those too, so they can't tell which rule is right. Only numbers your guess would say no to can tell the two apart. Try 1, 2, 9: your guess says no, the real rule says yes. The moment they answer yes, your guess falls.
Three filters, searching, reading and remembering, strain out the evidence against you
The first filter is searching. The way you ask the question tilts the answers: search "why this plan is good," and the top results are almost all reasons it is good.
The second is reading. Suppose you have 10 studies in hand: 6 support your plan and 4 go against it. Reading the 4 against it, you pick at them point by point and throw out 3. Reading the 6 in favor, you don't pick at a single one. On paper, the score goes from 6 for and 4 against to 6 for and 1 against. But the standard you used to pick holes threw out three quarters of the studies against you. Apply the same standard to the 6 in favor, and at the same rate only one or two would be left (a quarter of 6 is 1.5), so the real score is one or two for and 1 against.
The third is remembering, and it is the hardest to notice. Searching and reading at least took some effort; forgetting takes none. Go back to the pickup point: of 20 trips this month, 5 failed, which is 25%. By the end of the month you can recall 5 failures and 3 smooth trips, so in your memory failures make up 5/8, about 63%.
If evidence against you doesn't go on paper, the remembering filter loses it
Darwin's rule was aimed right at the third filter. Facts against him slipped away more easily, so he didn't wait to think about them later; he wrote them down on the spot. When he sat down to write his conclusions, the evidence against them was still there on paper, and memory had no chance to sort it out first.
Confirmation bias shows up most easily when your judgment has already taken shape and you choose the evidence yourself, as when you research something, interview someone or track down a fault. When your judgment only leans a little, or someone else gathers the full set of evidence, it does less. Looking for evidence in favor is not wrong in itself; the mistake is looking only on that side. The other way around, using "let's look for more evidence against it" as a reason never to reach a conclusion is also a misuse.