You know of any translation that agrees with your rendering? It's not here:
Bible Hub
New International Version
Yet, before the twins were born or had done anything good or bad--in order that God's purpose in election might stand:
New Living Translation
But before they were born, before they had done anything good or bad, she received a message from God. (This message shows that God chooses people according to his own purposes;
English Standard Version
though they were not yet born and had done nothing either good or bad—in order that God’s purpose of election might continue, not because of works but because of him who calls—
Berean Study Bible
Yet before the twins were born or had done anything good or bad, in order that God’s plan of election might stand,
Berean Literal Bible
for they not yet having been born nor having done anything good or evil, so that the purpose of God according to election might stand,
King James Bible
(For
the children being not yet born, neither having done any good or evil, that the purpose of God according to election might stand, not of works, but of him that calleth
New King James Version
(for
the children not yet being born, nor having done any good or evil, that the purpose of God according to election might stand, not of works but of Him who calls),
New American Standard Bible
for though
the twins were not yet born and had not done anything good or bad, so that God’s purpose according to
His choice would stand, not because of works but because of Him who calls,
NASB 1995
for though the twins were not yet born and had not done anything good or bad, so that God's purpose according to His choice would stand, not because of works but because of Him who calls,
NASB 1977
for though
the twins were not yet born, and had not done anything good or bad, in order that God’s purpose according to
His choice might stand, not because of works, but because of Him who calls,
Amplified Bible
and though
the twins were not yet born and had not done anything
either good or bad, so that God’s purpose [His choice, His election] would stand, not because of works [done by either child], but because of [the plan of] Him who calls them,
Christian Standard Bible
For though her sons had not been born yet or done anything good or bad, so that God’s purpose according to election might stand —
Holman Christian Standard Bible
For though her sons had not been born yet or done anything good or bad, so that God's purpose according to election might stand--
American Standard Version
for the children being not yet born, neither having done anything good or bad, that the purpose of God according to election might stand, not of works, but of him that calleth,
Douay-Rheims Bible
For when the children were not yet born, nor had done any good or evil (that the purpose of God, according to election, might stand,)
English Revised Version
for the children being not yet born, neither having done anything good or bad, that the purpose of God according to election might stand, not of works, but of him that calleth,
GOD'S WORD® Translation
Before the children had been born or had done anything good or bad, Rebekah was told that the older child would serve the younger one. This was said to Rebekah so that God's plan would remain a matter of his choice,
International Standard Version
Yet before their children had been born or had done anything good or bad (so that God's plan of election might continue to operate
Literal Standard Version
(for they being not yet born, neither having done anything good or evil, that the purpose of God, according to [divine] selection, might remain; not of works, but of Him who is calling),
NET Bible
even before they were born or had done anything good or bad (so that God's purpose in election would stand, not by works but by his calling)--
New Heart English Bible
For being not yet born, neither having done anything good or bad, that the purpose of God according to election might stand, not of works, but of him who calls,
Weymouth New Testament
and even then, though they were not then born and had not done anything either good or evil, yet in order that God's electing purpose might not be frustrated, based, as it was, not on their actions but on the will of Him who called them, she was told,
World English Bible
For being not yet born, neither having done anything good or bad, that the purpose of God according to election might stand, not of works, but of him who calls,
Young's Literal Translation
(for they being not yet born, neither having done anything good or evil, that the purpose of God, according to choice, might remain; not of works, but of Him who is calling,) it was said to her --