Heat the olive oil in a large pot or deep skillet over medium high heat, then add the onion and garlic and cook for 3 minutes. The onion should soften and turn lightly golden, and the mixture should smell fragrant rather than sharp.
Raise the heat to high and add the beef, breaking it up as it cooks until it is well browned. Look for real color on the meat and no obvious raw spots, because that browning builds a deeper savory base.
Pour in the red wine and let it come to a simmer for 1 minute while scraping the bottom of the pot. The harsh wine smell should cook off quickly, leaving the pan smelling richer and cleaner.
Add the beef bouillon, crushed tomato, tomato paste, sugar if needed, Worcestershire sauce, bay leaves, thyme, salt, and black pepper, then stir and bring everything to a simmer. Once the sauce starts bubbling, lower the heat to medium so it cooks at a gentle bubble rather than a hard boil.
Cook the sauce uncovered for 20 to 30 minutes, stirring now and then and adding water if it thickens more than you like. It should become richer, slightly darker, and thick enough to coat a spoon without turning pasty.
Taste the sauce and add more salt if needed, then spoon over cooked spaghetti or finish by tossing the pasta in the sauce. The flavor should taste balanced and savory, with the tomato no longer feeling sharp or one-dimensional.