The Foundation trilogy is a fantastic example of "God works in mysterious ways" being completely fallible. The Foundation nearly falls because it gets so stuck on "Sheldon's Plan" ("God's Plan" ) that supposedly accounts for almost everything except free will that when an unknown variable pops in, a mutant able to bend free will (Satan), causes the Second Foundation (Jesus) to act early making everything need recalculated. The First Foundation trudges on in this 1,000 year plan feeling even stronger even though they have been shown to be fallible to the whole Galaxy now, and that their plan may not work (I will return soon). I could be projecting though, but it is great seeing Asimov show how stupid it is to rely on a plan for 1,000 years and expect everything to be hunky dory
I don’t like to look for these analogies, I generally hold that great fiction should be enjoyable as exactly that, great fiction. If you can find obvious analogies then they haven’t been hidden well enough by the author, because it functions as a distraction.
But I think these parallels are a bit of a stretch
I disagree that the Second Foundation is analogous to Jesus. Because, if Jesus existed (which he didn't) then that which you criticised as being silly, is exactly what he did - God made a cameo appearance on Earth, left behind a few anecdotal instructions and expected the whole world to follow those instructions exactly, until the end of the world.
Hari Seldon's genius wasn't the creation of the Foundation, it was his foresight into knowing that the Galaxy would need a living, consistent, malleable and responsive guiding hand in order to bring humanity back into cohesivity within a reasonable timeframe.