An allegory, in a literary sense, is a figure of speech, character, or image that has symbolic meaning attached to it. The characters Sam and Eric in the novel Lord of the Flies symbolically represent members of society who blindly follow authority and have trouble acting independently. Sam and Eric eventually are renamed as Samneric because they think alike and are virtually impossible to separate throughout the novel. Samneric follow whoever they feel is in charge and are easily swayed between the two leaders, Ralph and Jack. Whenever Sam and Eric are given a task, they follow it immediately, much like dogs follow their owner's directives. Golding describes them as laying on the ground, panting at Ralph, and they sleep outside instead of in the huts. This symbolism describes dogs and represents the obedience that Samneric display. However, the boys are referred to as "dim shadows" which foreshadows their eventual betrayal of Ralph. Regarding religious symbolism, the characters Samneric portray Judas, who betrayed Jesus for thirty pieces of silver.