How did Britain and France avoid war with Germany?

The Munich agreement in 29 September 1938.