I agree that greed plays a role in civilization, but I think your read on human history is overly simplistic in an important way.
A great deal of what has driven civilization forward are the people who are driven by curiosity. People like Archimedes, Plato, Newton, Einstein. Not to mention the millions of curious nameless folks who improved the boat, the spear, the wheel, the book. Folks like RMS without whom I doubt we'd have anything like the current open source ecosystem including Linux. These tend to be people who are not only curious, but whose sense of greed is lower than the average.
Without these folks, it's not clear to me that humanity ratchets forward in progress. If you just have greed and lust, the steady state would be something like power politics of states warring against each other with swords for thousands of years. History has gotten stuck in those states many times, and when we finally break out it's typically the curiosity-driven folks who give the greed-driven folks a reason to invest their money in something other than raising an army for yet another war of honor.