over this tunic the high priest wore a second garment called the ephod which had much fine gold and fancy work on it , and a breastplate of twelve shining gems , one each for the tribes of israel , so that when the high priest went in before the lord , he would have there the twelve tribes .