Heat the olive oil in a large pot over medium heat. Add the beef and cook until browned on all sides, about 6 minutes. Remove the beef to a plate and set aside.
Add the onion, carrots, and celery to the same pot. Cook for 5 minutes until the vegetables begin to soften. Stir in the garlic and cook for 1 minute more.
Return the beef to the pot. Add the cannellini beans, diced tomatoes, beef broth, rosemary, and bay leaves. Season with salt and pepper.
Bring the mixture to a boil, then reduce the heat to low. Cover and simmer for 45 minutes until the beef is tender.
Stir in the spinach and cook for 2 minutes until it wilts. Remove the bay leaves before serving.