https://en.wikipedia.org/wiki/Silverpoint
Here's a zoomable example by da Vinci (don't you agree they look awfully similar to pencil lines?)
https://www.britishmuseum.org/collection/object/P_1860-0616-...
There is essentially only one place in the world where graphite suitable for pencils naturally exists, and this wasn't discovered until the 1500s. Making it artificially from powdered graphite was first done in 1662, and the first process that approximates modern pencil construction was done in 1795, which is probably what you're calling the invention of the pencil.
Ancient pencils were made of charcoal, unless you have a very obtuse definition of what a pencil is.
If you've never made a pencil at home out of charcoal, can you even say you are a free (wo)?man\?