Heat the olive oil in a large pot over medium heat. Add the ground beef and cook until browned, breaking it up with a spoon as it cooks.
Add the onion, carrots, and celery. Stir and cook for 5 minutes until the vegetables start to soften.
Stir in the garlic and cook for 1 minute.
Add the pearled barley, beef broth, diced tomatoes, thyme, salt, and pepper. Bring the mixture to a boil.
Reduce the heat to low, cover the pot, and simmer for 40 minutes until the barley is tender.
Stir in the spinach and cook for 2 more minutes until it wilts.