That famous promise God gave Abraham - that he and his children would possess the earth - was not given because of something Abraham did or would do. It was based on God's decision to put everything together for him, which Abraham then entered when he believed.
Abraham and his family received a promise. God promised that Abraham would receive the world. It would not come to him because he obeyed the law. It would come because of his faith, which made him right with God.