I am searching for the scripture passage that says something like this: If a man attacks a woman who is pregnant and the child in her womb dies, he should be put to death for murder, or he is guilty of murder.

Answer:

There is a passage in the Old Testament that talks about this. Here it is (World English Bible translation)…

Exodus 21:22-23 “If men fight and hurt a pregnant woman so that she gives birth prematurely, and yet no harm follows, he shall be surely fined as much as the woman’s husband demands and the judges allow. But if any harm follows, then you must take life for life,”

I think that is probably what you were referring to

Pastor Brad