Originally from Ancient Greek pan- (“all”) + -sophy (“wisdom, knowledge”), then from Latin pansophia to English.
pansophy (uncountable)