You should not use spoiled spinach even if you plan to cook it. Spinach that is past its prime is much better suited for the compost pile!