The shepherd hadn’t been to school because
(i) he was very poor.
(ii) there were very few schools in those days.
(iii) he wasn’t interested in studies.
(ii) there was very few schools in those days.