Prep the Vegetables : Dice onion, carrots, celery, and garlic. These form the classic soffritto base that adds depth to the sauce.
Sauté the Vegetables : Heat 2 tablespoons olive oil in a large, heavy-bottomed pan over medium heat. Add onions, carrots, and celery. Cook for 5–7 minutes until softened. Add garlic and sauté for another minute.
Brown the Meat : Add ground beef (and pancetta if using) to the pan. Break the meat apart with a spoon. Cook until browned, about 8–10 minutes. Drain excess fat if necessary.
Add Tomato Paste u0026 Tomatoes : Stir in 2 tablespoons tomato paste and cook 2–3 minutes to remove raw flavor. Add canned tomatoes and tomato purée.
Season the Sauce : Add sugar, dried oregano, dried basil, bay leaf, salt, and pepper. Stir well to combine.
Deglaze with Wine : Pour in red wine (if using), scraping the bottom to lift any browned bits. Simmer for 5 minutes to reduce slightly.
Add Stock u0026 Simmer : Pour in stock, reduce heat to low, and cover partially. Let the sauce simmer gently for 45–60 minutes, stirring occasionally. The sauce should thicken and become rich in flavor.
Cook the Spaghetti : In a separate pot, cook spaghetti according to package instructions in generously salted water. Drain, reserving a little pasta water.
Combine u0026 Serve : Toss spaghetti with a portion of sauce, adding a splash of reserved pasta water if needed. Plate, spoon more sauce on top, sprinkle with chopped parsley and Parmesan cheese.