Heat olive oil in a large pot and sauté chopped onion and garlic until soft and fragrant.
Add diced carrots, celery, and chopped tomatoes. Cook for 5 minutes.
Add cooked white beans, vegetable stock, salt, black pepper, and dried Italian herbs.
Bring the mixture to a boil and simmer for 15–20 minutes.
Add small pasta and cook until tender.
Adjust the seasoning and add a little lemon juice for extra freshness.
Garnish with fresh basil or parsley.
Serve hot with crusty bread.