Well the 6,000 years comes from the genealogy Biblical characters. One thing I have wondered about is how they calculate lifespans, and how we know how quickly they dropped.
One usual explanation for that is that when the Jewish scriptures were written for the egyptian library the timespan didn't add up with recorded Egyptian history so they added lots of years to the lifespan of the characters to get rid of the contradiction .