01 - Bring a large pot of salted water to a rolling boil over high heat.
02 - Add spaghetti to boiling water and cook until al dente according to package directions. Drain pasta, reserving 1/2 cup of the starchy cooking water, and set aside.
03 - While pasta cooks, heat olive oil in a large skillet over medium heat. Add chopped onion and sauté for 4-5 minutes until translucent and softened. Stir in minced garlic and cook for 1 minute until fragrant.
04 - Add ground beef to the skillet. Cook, breaking up meat with a wooden spoon, for 6-8 minutes until thoroughly browned and cooked through. Drain excess fat if necessary.
05 - Stir in dried oregano, dried basil, and red pepper flakes. Add tomato paste and cook for 1 minute to caramelize and deepen flavor.
06 - Pour in crushed tomatoes and sugar. Season generously with salt and pepper. Simmer uncovered over medium-low heat, stirring occasionally, for 20 minutes until sauce thickens nicely.
07 - Add drained spaghetti to the sauce and toss thoroughly to coat. Add reserved pasta water as needed to achieve desired consistency.
08 - Plate the pasta hot, topped with grated Parmesan cheese, fresh basil leaves, and a drizzle of extra virgin olive oil.