Who was the first person to write a poem?

It was William Shakespeare Don't believe the previous answer, it's dead wrong. As far as I know, the first poems were written by the Ancient Egyptians, although there were probably poems long before then.