Jesus, Buddha, and others, passed on great wisdom to some followers. The followers grasped the wisdom for themselves and found other followers. Soon there was a movement.
Those later followers wondered how to distil the wisdom to the rest of the world like they had been asked to do, and so lay stories and illustrative crafts emerged. Lay movements emerged. Buddha became a god to be worshipped. Jesus became a god to be idolised. Wisdom became substituted for the illustrative crafts. The meaning became clouded by the message. It has always been this way.
Wisdom may take many more iterations into religion, and out of it again, before we are all transformed into egoless mindful creatures of the universe.