Hebrews 11:18

[even though] he had been told [by God, Gen. 21:12], "Your descendants will be traced through Isaac."

Romans 9:7-8

Neither are all [Jewish] people children [of God], [simply] because they are Abraham's descendants. But [Gen. 21:12 says], "It is through Isaac that you [i.e., Abraham] will have descendants."

Treasury of Scripture Knowledge

Summary

And God said unto Abraham, Let it not be grievous in thy sight because of the lad, and because of thy bondwoman; in all that Sarah hath said unto thee, hearken unto her voice; for in Isaac shall thy seed be called.

Bible References

In isaac

Romans 9:7
Neither are all [Jewish] people children [of God], [simply] because they are Abraham's descendants. But [Gen. 21:12 says], "It is through Isaac that you [i.e., Abraham] will have descendants."
Hebrews 11:18
[even though] he had been told [by God, Gen. 21:12], "Your descendants will be traced through Isaac."