Where does “bát sách” come from?

Words derived from “bát sách