Steph, thank you for being vulnerable enough to share this as I'm sure you're not alone in this experience. I'm terribly sorry that this happened to you. No matter how well meaning (which really, it doesn't seem like he was) that pastor might have been, he was completely wrong to treat you the way he did. And you most certainly did not deserve that treatment. It's sad to say, but themes of misogyny still run rampant in the church. It's so easy for them to put all of the blame on the woman for having a child out of wedlock, not even paying attention to the fact that she didn't create that baby on her own.
That medical diagnosis has to be a painful thing to come to terms with, but I pray you are able to in due time ❤️