An engine failing on an aircraft, especially a light aircraft, is not a guaranteed crash landing. It is a serious situation, however aircraft usually glide well. This means you have opportunities to find somewhere that is adequate for landing. Many aircraft with engine failures have landed safely on airstrips. Interestingly this is also the case with helicopters due to their ability to autorotate.