In order to get a visa on arrival at Beirut for Egyptian citizens, you will need:
- at least $2,000 USD in cash (not a fee, just proof of funds, but needs to be cash)
- a non-refundable air ticket (round-trip or onward)
- Copy of a hotel reservation for a 3-5 star hotel, or name, address, and telephone number of a private citizen in Lebanon
If you don't have the cash, I'd recommend just staying in the airport. But if you do have the cash, I'd make a refundable reservation at a hotel, or find a Lebanese friend who'd be OK with your listing their information.
Also, I think they'll be fine with other currencies' equivalent of U.S. $2,000, I don't think they're looking specifically for USD.
Note: For others who may stumble across this answer, do keep in mind that not every nationality has to bring in cash. Only certain nationalities do, and Egypt is one of them.