The streetlight effect, or the drunkard’s search principle, is a type of observational bias that occurs when people only search for something where it is easiest to look. Both names refer to a well-known joke:

A policeman sees a drunk man searching for something under a streetlight and asks what the drunk has lost. He says he lost his keys and they both look under the streetlight together. After a few minutes the policeman asks if he is sure he lost them here, and the drunk replies, no, and that he lost them in the park. The policeman asks why he is searching here, and the drunk replies, “this is where the light is”.

(“Streetlight Effect” 2022)

Bibliography

“Streetlight Effect.” 2022. Wikipedia, September. https://en.wikipedia.org/w/index.php?title=Streetlight_effect&oldid=1108333350.