We see two histories at play in this passage: Israelite history and Corinthian history:
Both histories are examples of common human experience: idolatry. Both were delivered by God – the Israelites from Egypt & the Corinthians from sin & death. Both histories communicate that God had sustained them – Israel by spiritual (& literal) food & drink, the Corinthians by spiritual food & drink (Lord’s Supper). Both histories also speak of a people, who despite deliverance & provision, were drawn to other gods. Both histories also confront people who claim to believe one thing while doing something contrary to their beliefs.