one of the most common reasons why cookies didn't spread out in the oven is because you added too much flour. cookies rely on the perfect ratio of butter to flour in order to spread just the right amount when baked. it's very easy to over measure flour when using cup measurements.