Cook the spaghetti according to the package instructions until al dente. Drain and set aside.
In a large saucepan, heat some oil over medium heat. Add the ground beef and cook until browned, breaking it up with a wooden spoon.
Add the chopped onion and minced garlic to the pan and cook until the onion is soft and translucent, about 5 minutes.
Stir in the crushed tomatoes, tomato paste, dried basil, dried oregano, salt, and pepper. If desired, pour in the red wine and let it reduce for a minute.
Reduce heat to low and let the sauce simmer for about 15 minutes, stirring occasionally.
Serve the cooked spaghetti topped with the meat sauce, grated Parmesan cheese, and a sprinkle of chopped parsley.