Did that Sunday School class teach a world free of racism was possible without divine intervention?
Odd rhetorical question, since "Star Trek" taught no such thing (the show was mercifully unspecific on how that world supposedly got to be the way it was, other than that somewhere along the way we'd had ourselves another world war or two). What people choose to
infer from the bits and pieces of the episodes does not imbue the original narrative with those ideas or qualities, no matter how badly folks want Trek to be Significant.
Or are you suggesting that Trek proposed
original ideas about social progress? That would be an impossible assertion to defend.
BTW, what we were taught in Sunday School was that prejudice and racism is wrong. That's as much as Trek did, and with less bathos.