Why did we even switch from pencil to pen

Pens get annoying sometimes. Sometimes they just randomly stop working, you can’t erase unless you have correction tape, some pens just refuse to work on paper after touching the surface of the correction tape, and the capped ones become useless after you lose the cap. The erasable ones fix some of those problems but 90% of the time they just smudge instead of erasing. Pencils are superior in every way