The phrase "were driven out" means "were forced to leave." These phrases can be reordered and stated in active form. Alternate translation: "The people shouted after them as ... a thief and forced them to leave" (See: [[rc://en/ta/man/translate/figs-activepassive]])