But you said, ‘I will surely do you good, and make your offspring as the sand of the sea, which cannot be numbered for multitude.’
Genesis 32:12 ESV

Sand of the sea and stars of the sky... These phrases aren't meant to be literal. The point is that the descendants of Abraham, through Isaac and Jacob, will become a great multitude.