Galatians 3:18

3:18 For if the inheritance is based on the law, it is no longer based on the promise, but God graciously gave it to Abraham through the promise.

Galatians 4:7

4:7 So you are no longer a slave but a son, and if you are a son, then you are also an heir through God.