How come I never find the pot of gold at the base of the rainbow?
The people who invented that tale were well aware of the impossibility of reaching the rainbow itself. Knowing that the rainbow moves with you, they were free to promise anything about what lies at the base of the rainbow.