Heat olive oil in a large pot. Add garlic, carrot, celery, and onion. Cook until onion is translucent.
Stir in beans and sauté briefly.
Add tomato passata, 2 cups water, bay leaves, salt, and pepper. Simmer 10–15 minutes.
Mash some beans (or blend a portion) to thicken. Remove garlic and bay leaves.
Add pasta and 2 more cups water. Cook until pasta is tender (10–15 minutes).
