Heat olive oil in a large pot over medium heat.
Add ground beef and cook until browned.
Drain excess fat and set beef aside.
Using the same pot, add a bit more olive oil if needed.
Add chopped onion, carrots, and celery.
Cook until tender, about 5-7 minutes.
Stir in minced garlic and cook for 1 minute until fragrant.
Add the cooked beef back into the pot.
Pour in the canned tomatoes, tomato sauce, and beef broth.
Add kidney beans and great northern beans.
Season with dried oregano, basil, and thyme.
Add salt and pepper to taste.
Bring the soup to a boil, then reduce heat and let it simmer for 15-20 minutes.
While the soup simmers, cook the ditalini pasta according to the package instructions.
Once cooked, drain the pasta and set aside.
Serve the soup hot, with a scoop of cooked pasta added to each bowl.
Adjust seasoning as needed before serving.