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 to the pot. Cook for 5 minutes until the vegetables begin to soften.
Stir in the garlic and mushrooms. Cook for another 3 minutes until the mushrooms release some liquid.
Add the barley, beef broth, thyme, salt, and black pepper. Stir to combine.
Bring the soup to a boil, then reduce the heat to low. Cover and simmer for 35 minutes, stirring once or twice, until the barley is tender.
Taste and adjust salt or pepper if needed before serving.