@Paul8623 Not sure about Egypt, but several countries in the region require all accommodation operators to collect copies of all guests' passports.
But if you're uncomfortable with transmitting your ID online, the host should offer an alternative, such as scanning the passports in person at check-in. A host in a different country mentioned that tourists who didn't want hosts to have copies of their passports could register directly with the local police instead, but that's probably not a service available everywhere.