It could be argued that Egypt "lost" when Mubarak destroyed the agricultural sector, to the extent that the Gift of the Nile now requires food aid. That may be why there isn't a constituency for really opposing the new dam. If there were, however, there are enough violent gangs in the region that dams can be attacked without leaving obvious fingerprints. Who's to say the dam hasn't already been attacked, by a subtle sort of supply sabotage? For the reasons you cite, if the dam comes down, it won't be rebuilt. The point is that giant dams are uniquely vulnerable to veto by theoretically unrepresented parties.
It's worth noting that the Nile is one of just 10 rivers which outputs 90% of the plastic that goes into the ocean. Some of the agricultural problems could be related to things such as that.
Mostly it was Mubarak implementing a bizarre corrupt version of land reform that took land from farmers whose families had owned it back to antiquity and gave it to cronies with no farming experience. [0]