Romans 4:5

4:5 But to the one who does not work, but believes in the one who declares the ungodly righteous, his faith is credited as righteousness.

Romans 9:8

9:8 This means it is not the children of the flesh who are the children of God; rather, the children of promise are counted as descendants.