I read once upon a time in the South a new person in town would be asked, “Are you a Baptist or a Republican?”
Despite that many not really familiar with Christendom in America often characterize Baptists as being conservative, in fact many of them are very leftist - I refuse to abuse the term liberal - politically, and often socially.
I attended a “non-denominational” prep school. Such are functionally a denomination unto themselves, but they tend consistently to be Armenian quasi-Baptist in theology, and many of the students and parents are moderately to very leftist. As a conservative and a Lutheran, I was not well tolerated.
I have known many Baptists, and most of them have been Democrats. My best friend - who attended an SBC seminary - was one such, and his politics and theology became so extremely leftist with time that it ended our decades-long friendship.
Jimmy Carter was/is not an outlier. His superficial social conservatism is merely a veneer over his Cultural Marxism.
The migration of Southern Baptists and other evangelical Christians to the Republican Party is a relatively recent phenomenon. The story is similar for Catholics.