A retaining wall must hold all the soil between itself and the failure plane. The failure plane is the angle at which the soil can retain itself before