The first written records for a country are for the Shang Dynasty, which ruled part of what is now northern China, starting about 1700 BC, or 3700 years ago.
Egypt is much older as a country, with written records going back to 2900 BC, more than a thousand years before the early Chinese records.
China has been broken up and reconstituted many times in the intervening period.
I am reluctant to make editorial comments to articles since it would be never ending. I get your point. I think many people would not think that China really existed as a unified country until the end of the Warring States period around 200 BC when the Qin dynasty was formed. I am certainly not a history major though!