In fairness, a lot of places outside of resorts in Egypt and other places can be absolutely awful. I have attempted even in airports to go to the loo, not necessarily Egypt, and havent even been able to 'stand' to go to the toilet and almost needed wellies to enter the toilet!!! THe holes in the floors are the worst.
At Hurghada airport people try to sell you toilet paper before entering, but there are signs on the walls to say to ignore this.