Passage
and all the same spiritual food did eat,
and all the same spiritual food did eat,
1 Corinthians 10:1 And I do not wish you to be ignorant, brethren, that all our fathers were under the cloud, and all passed through the sea,
1 Corinthians 10:2 and all to Moses were baptized in the cloud, and in the sea;
1 Corinthians 10:3 and all the same spiritual food did eat,
1 Corinthians 10:4 and all the same spiritual drink did drink, for they were drinking of a spiritual rock following them, and the rock was the Christ;
1 Corinthians 10:5 but in the most of them God was not well pleased, for they were strewn in the wilderness,
The verse centers on "Spirit", "same", "spiritual", and "food". It is saying that the verse draws attention to "Spirit" and "same", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 2's "and all to Moses were baptized in..." into verse 4's "and all the same spiritual drink did...", so "Spirit" and "same" belong inside that flow. In 1 Corinthians context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "Spirit" and "same" with trust shaped by these words, not by a vague optimism outside the passage.