Mathematics to the Greeks was "mathematics" in the sense we understand it today. From a system of axioms they derived a complex system of theorems, which allowed for an abstract description of reality. It was mathematics as a system of truth, which then could be used for other purposes. E.g. with Archimedes who discovered integration, but also was a prolific engineer.
The Greeks were so far ahead of anything the Mesopotamians did, that even the comparison is unfair.