The Purpose of Planning and Why It Often Fails