The repeated observation of a relationship can create the perception that the correlation will continue in the future.
People use these experiences to make judgements that guide their behaviour, even if the connections is the result of chance.
Superstitions, folklore, and prejudice develop when individuals perceive connections that do not actually exist.
See the full study here :
Chapman, L. J. (1967). Illusory correlation in observational report. Journal of Verbal Learning and Verbal Behavior, 6(1), 151-155, https://doi.org/10.1016/S0022-5371(67)80066-5