How much cash is allowed through customs?

In varies by country, use, and purpose.

In Egypt for example, only declared $10000 US dollars is allowed for a passenger entering the country.