How is the music history of ancient Egypt and ancient Greece similar?

They both used math to study sound waves.

They both believed music was inspired by the gods.

They both used paintings and other art pieces to symbolize music.

They both used religious poems written by high priests to create music.