“Beriah and Shema were the heads of the ancestral houses of the inhabitants of Aijalon, who put to flight the inhabitants of Gath.”
It is not clear whether these 2 brothers were also the sons of Elpaal. There are a few other people in the biblical literature with these names. Beriah was the name of a son of Asher, a son of Ephraim, and a Levite. Shema was also the name of a Reubenite and a place. Aijalon was a Levite city in the original area of Dan that was taken over by the Benjaminites. Of course, the inhabitants of Gath would have been the Philistines at the time of David.