Examples:
*Jacob and Esau were distinct individuals in the womb (Gen. 25:23; Rom. 9:11-12).
*Samson’s mother was not to drink wine, because her son was to be a Nazirite, who would abstain from alcohol (Judges 13:3-5).
*Jeremiah and Paul both acknowledged that God formed them in the womb and knew them by name (Jer. 1:5; Gal. 1:15). Isaiah 49:1, 5 affirms the same thing about Messiah.
*John the Baptist recognized Jesus while both were still in the womb (Luke 1:35-36, 39-44)!
This is an amazing text! Elizabeth was in her sixth month of pregnancy when Mary conceived Jesus by the Holy Spirit. Mary went to visit Elizabeth before John was born. Thus Elizabeth would have been in her last trimester, while Mary was in her first trimester.
Yet John recognized Jesus in those early months of Mary’s pregnancy! I think that this is the strongest passage that a baby in the womb in the first trimester is a person created in God’s image. We are not free to take the life of such a child just because it is not convenient to have a baby!
https://bible.org/article/what-bible-says-about-abortion