Can they refuse to hire me?

I’m almost 6 months pregnant and just got laid off my job. my belly isn’t really that big showing, and I applied to a bank part time, i have a interview but i’m super nervous the minute i say i’m pregnant it’s a no go. I know legally, they can’t deny you a job because of pregnancy, but they can say they’re looking at other candidates and low key deny me because they think i’m “less capable” or going to go on maternity leave soon... Do people actually get hired this far along? It’s a job I always wanted to do and finally got a interview. Advice? The reason I have hope is because it’s part time and they will have lower expectations. Kind of nervous though