In a large skillet, cook the onion and garlic over medium heat until softened, about 5 minutes.
Add the ground beef and cook, breaking it up with a wooden spoon, until browned, about 7-10 minutes.
Stir in the crushed tomatoes, tomato paste, oregano, basil, salt, and pepper.
Bring the sauce to a simmer and let it cook for 20-30 minutes, stirring occasionally, until thickened.
Serve the sauce over cooked pasta.
