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  The best board game deals of October Prime Day