Looking at this in a 100 translations I see several that say miscarriage, and several say premature birth.
"No further injury" can include a live baby in a pre-mature birth, but not in a miscarriage. The original doesn't say which.
So I can see why you believe what you do.
But if you look at the other translations, I hope you can see why I and others believe this scripture says abortion is wrong and punishable.
I guess we can only leave it to each person to find out from God what God feels about the pre-born baby.
But there is scripture for either position.
But here's the translations that make more sense with the scriptures that say we're fearfully and wonderfully made by God, and HE knows us before we are born.
If God knows us before we are born, that speaks of personhood, not tissuehood.
Exodus 21:22-24 New King James Version (NKJV)
22 “If men fight, and hurt a woman with child, so that she gives birth prematurely, yet no harm follows, he shall surely be punished accordingly as the woman’s husband imposes on him; and he shall pay as the judges
determine. 23 But if
any harm follows, then you shall give life for life, 24 eye for eye, tooth for tooth, hand for hand, foot for foot,
Exodus 21:22-23 Amplified Bible (AMP)
22 “If men fight with each other and injure a pregnant woman so that she gives birth prematurely [and the baby lives], yet there is no
further injury, the one who hurt her must be punished with a fine [paid] to the woman’s husband, as much as the judges decide. 23 But if there is
any further injury, then you shall require [as a penalty] life for life,
Exodus 21:22-23 Darby Translation (DARBY)
22 And if men strive together, and strike a woman with child, so that she be delivered, and no mischief happen, he shall in any case be fined, according as the woman's husband shall impose on him, and shall give it as the judges estimate. 23 But if mischief happen, then thou shalt give life for life,
Exodus 21:22-23 Expanded Bible (EXB)
22 “Suppose two men are fighting and ·hit [injure] a pregnant woman, causing ·the baby to come out [
or a miscarriage; C the Hebrew is not clear whether dead or alive]. If there is no further ·injury [harm], the man who caused the accident must pay money—whatever amount the woman’s husband says and the court allows. 23 But if there is further ·injury [harm], then ·the punishment that must be paid is [L you shall give] life for life,
Exodus 21:22-23 GOD’S WORD Translation (GW)
22 “This is what you must do whenever men fight and injure a pregnant woman so that she gives birth prematurely. If there are no other injuries, the offender must pay whatever fine the court allows the woman’s husband to demand. 23 If anyone is injured, the offender must pay a life for a life,
Exodus 21:22-23 Holman Christian Standard Bible (HCSB)
22 “When men get in a fight and hit a pregnant woman so that her children are born prematurely but there is no injury, the one who hit her must be fined as the woman’s husband demands from him, and he must pay according to judicial assessment. 23 If there is an injury, then you must give life for life,
Exodus 21:22-23 Lexham English Bible (LEB)
22 “‘And if men fight and they injure a pregnant woman, and her children go out and there is not serious injury, he will surely be fined as the woman’s husband demands concerning him
and as the judges determine.23 And if there is serious injury, you will give life in place of life,
Exodus 21:22-23 Modern English Version (MEV)
22 If men fight and hurt a pregnant woman so that her child is born prematurely, yet there is no serious injury, then he shall be surely punished in accordance with what the woman’s husband demands of him, and he shall pay as the judges determine. 23 But if there is any serious injury, then you shall give life for life,
Here's a whole list to look at to see how many translations say miscarriage, and how many say pre-mature birth.
https://www.biblegateway.com/verse/en/Exodus 21:22