The good thing about getting lost in the desert near the pyramids, is that civilisation is usually right around the corner. If you just walked a full circle around the pyramids, you are guaranteed to see cities.