The authentic hadeeth states that there were 315 Messengers and about 120,000 Prophets.
We are only told about 25 of them in the Quran and Allah tells us that there are a lot that We didn’t tell you about.
That is why we don’t know about the rest of these Prophets and Messengers.