Texas sharpshooter fallacy
From Iron Chariots Wiki
The Texas sharpshooter fallacy is an instance of Confirmation bias. The analogy is that a sharpshooter is firing a large volume of shots at targets on a shooting range. Most of the bullets miss the bullseyes, if not the target altogether. Through statistical chance, a small number of those shots happen to hit the bullseye of some of the targets, which the "sharpshooter" then grabs to show others how good of a shot he/she is.
Most often, this fallacy arises in the example of prophecies in the Bible, that makes a plethora of predictions, only some of which come true, assuming they aren't self-fulfilling or heavily interpreted prophecies.