The peacock plays a role in Greek mythology as the symbol of the goddess Hera, the consort of Zeus. Originally from India, where they were symbolic of royalty, they were later brought to ancient Babylon by Indian traders many centuries ago.
Like many things, the peacock and its symbolism came to ancient Greece from Babylon — but they took on a Greek provenance when they became a symbol of the goddess Hera, whose chariot they pulled.