The Greek era, particularly the classical period, is earlier than the Middle Ages. The Greek era is commonly considered to have started around the 8th century BC, with significant developments during the 5th to 4th centuries BC, which includes the height of Greek philosophy, art, and democracy. On the other hand, the Middle Ages spanned roughly from the 5th century AD to the late 15th century AD, following the fall of the Western Roman Empire.
To put it simply, the timeline shows that the Greek era predates the Middle Ages by several centuries. The influence of Greek culture persisted into the Middle Ages, but the two periods are distinct and chronological, with the classical achievements of Greece laying important foundations for the subsequent development of European civilization during the Middle Ages.