Simple meals sometimes are the best.
1 medium onion, diced
1/2 carrot, diced small
3 cloves garlic, diced
1 large can diced tomatoes
1 tablespoon dried oregano
1/2 cup red wine, or more, to taste
Salt and pepper, to taste
Heat the olive oil in a large skillet. Add the onion and carrot and cook until the onions soften. Add the garlic and cook for a few seconds more.
Add the tomatoes, oregano and wine. Add salt and pepper, to taste. Simmer for at least 15 minutes; longer if desired.
Meanwhile, cook spaghetti or other pasta in salted boiling water. When the pasta is almost cooked, add it to the sauce, along with pasta cooking water, as needed. Finish cooking the pasta in the sauce.