Modern humans are Homo.sapiens.sapiens which acquired our modern form and brain case 250,000 to 350,000 years ago. Homo.sapiens our total bloodline and our species is 750,000 years to 1.2 million depending on how much brain case development one wants to include in the Homo.s line.
So for over 200 thousand years our species was smart enough to invent writing but didn’t until the last 5 thousand years or so?