1 Corinthians 10:11 "Now all these things happened unto them for ensamples: and they are written for our admonition, upon whom the ends of the world are come."
This tells us that what happened to Israel was for our admonition.
We can learn a lot by looking at Israel, a type of the Church.