The egg wash helps hold the two crusts together and makes the top crust turn golden brown while baking.