People typically wrongly attribute findings not to the person who first discovered it, but to the person who was able to most widely communicate/publish about it.
This is a particular difficult challenge in ancient times.
Knowledge was often shared verbally, not in written form.
Or if it was in written form, the material used has long since deteriorated.
So most of what we know about ancient thinking is based on knowledge that was so widely known and written that there's multiple copies of it; or the knowledge was communicated on a hard material like stone (egyptian hieroglyphics) ... but that doesn't mean it was the first ancients knew of it, it just means that the particular knowledge in written form has lasted the test of time the longest.