Darryl has written about the science (or lack thereof) behind the recent vote to ban abortion at the federal level due to fetal pain. A fetus can’t feel pain, so basing abortion policy on that is going to result in bad policy. But there is someone in the decision to have an abortion who can feel pain, the one who is pregnant.
Even when it goes well, and the child is wanted, pregnancy is often a miserable, painful experience. As is childbirth. That’s might be one reason why more than 60% of the people who seek an abortion have a child: they know what they’re getting into.
So no, if the people who voted for this were concerned about pain, they would have voted to protect abortion rights. The fact that they see imaginary fetal pain as more important than the actual pain of the pregnant woman is really all you need to know.