I was going through 1 Corinthians 10, doing my best to not fixate on verse 13 until i knew the context :) when I read this:
8 We should not commit sexual immorality, as some of them did—and in one day twenty-three thousand of them died. 9 We should not test Christ,[b] as some of them did—and were killed by snakes.
I get the reference in 10:9 - that's the whole Suffering Symbol thing. But 10:8 appears to be a separate story. I also remember Korah being about 23000, but they were killed for rebelling against God and Moses - not sexual immortality.
It also doesn't seem like it should be Sodom and Gomorrah, because that's a different time period.
So, what's the reference?