"The imaginary beast that frightens all the
boys stands for the primal instinct of savagery that exists within all
human beings. The boys are afraid of the beast, but only Simon reaches
the realization that they fear the beast because it exists within each of them."
My source is:
https://en.wikibooks.org/wiki/Lord_of_the_Flies/Symbolism