https://en.m.wikipedia.org/wiki/Texas_sharpshooter_fallacy
The name comes from a metaphor about a person from Texas who fires a gun at the side of a barn, then paints a shooting target centered on the tightest cluster of shots and claims to be a sharpshooter.