Place a large pot over medium heat and add the onion and garlic. Cook until the onion softens.
Add the cubed chicken and cook until the pieces are no longer pink on the outside.
Stir in the carrots, celery, barley, chicken broth, thyme, salt, and pepper.
Bring the mixture to a boil, then reduce the heat and simmer uncovered for 40 minutes until the barley is tender.
Add the frozen peas and cook for 5 more minutes.
Ladle into bowls and sprinkle with the chopped parsley before serving.