Psalm 78:24
22 because they did not have faith in God and did not trust his ability to deliver them. 23 He gave a command to the clouds above and opened the doors in the sky. 24 He rained down manna for them to eat; he gave them the grain of heaven. 25 Man ate the food of the mighty ones. He sent them more than enough to eat. 26 He brought the east wind through the sky and by his strength led forth the south wind.
John 6:31
29 Jesus replied, “This is the deed God requires—to believe in the one whom he sent.” 30 So they said to him, “Then what miraculous sign will you perform, so that we may see it and believe you? What will you do? 31 Our ancestors ate the manna in the wilderness, just as it is written, ‘He gave them bread from heaven to eat.’” 32 Then Jesus told them, “I tell you the solemn truth, it is not Moses who has given you the bread from heaven, but my Father is giving you the true bread from heaven. 33 For the bread of God is the one who comes down from heaven and gives life to the world.”
Notes and References
"... The remarkable thing is the extent to which the Evangelist has attempted to correlate the discourses with the signs. In effect, the signs become teaching occasions and serve as the example or illustration of the truth of the discourse material. The correlation is not done systematically or consistently, but in a few instances, especially for the fourth, fifth (understood as the healing of the blind man), and sixth (understood as the raising of Lazarus) signs, the design is unmistakable. Thus after the fourth sign, the feeding of the five thousand (6:1–14), we encounter the discourse on Jesus as the bread of life (6:25–65). This discourse finds its immediate stimulus in another miraculous feeding, the provision of manna to Israel in the wilderness (Exodus 16), described as “grain from heaven” in Psalm 78:24. Jesus then refers to “the bread which comes down from heaven” (6:50) and proceeds to identity himself as that bread (6:51). No longer is the concern with literal food, but rather with a spiritual provision of eternal life ..."
Hagner, Donald A. The New Testament: A Historical and Theological Introduction (pp. 279-280) Baker Academic, 2012