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  Miis continue to live on through Zelda: Tears of the Kingdom