Do beacons keep mobs away?

Do beacons keep mobs away? No. Beacons only affect players. They have no effect on other mobs, passive or otherwise.

No. Beacons only affect players. They have no effect on other mobs, passive or otherwise.
See also  What day is the Browns Raiders game?