Romans 9:30

30 What then are we to say? Gentiles, who did not strive for righteousness, have attained it, that is, righteousness through faith;

Romans 9:30 In-Context

28 for the Lord will execute his sentence on the earth quickly and decisively."
29 And as Isaiah predicted, "If the Lord of hosts had not left survivors to us, we would have fared like Sodom and been made like Gomorrah."
30 What then are we to say? Gentiles, who did not strive for righteousness, have attained it, that is, righteousness through faith;
31 but Israel, who did strive for the righteousness that is based on the law, did not succeed in fulfilling that law.
32 Why not? Because they did not strive for it on the basis of faith, but as if it were based on works. They have stumbled over the stumbling stone,
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.