Good that you discovered the anaphylaxis before it got too serious - I presume you now carry an EpiPen?
One of the big problems around here is.... too many beekeepers in a small area and not enough forage...
I'm the membership secretary for the local BBKA branch so I know where all our almost 100 members live, and there are 8 in this village with little forage in the valley, especially in summer. Note that I know of several other local beekeepers who aren't members of the BBKA, so there are more than 8 within 1km of here.
If you don't balance the number of hives in an apiary with the available forage throughout the season, you out-compete other pollinators (to their detriment) and your own bees also don't do that well... I don't keep bees at home - they're on nearby farms. Our lavender beds are consequently absolutely full of bumble bees and other insects rather than A. mellifera.
Beekeeping is livestock management - it's not a set-it-and-leave pastime. You have to be proactive in managing all aspects of what you do with them, and that's a responsibility that requires work, often hard & unpleasant work - a lot of new beekeepers just don't get that. We encourage all new beekeepers to do a hands-on course at our apiary (we loan suits etc.) so that they fully understand what they are getting into before they spend a lot of money on (possibly the wrong) kit or find out it's just not for them. We also supply local nucs to new starters at cost - we know the temperament & health of the colonies and their suitability to our local climate. We all want happy, well-trained, competent & responsible beekeepers with happy & healthy bees.
Regarding forage - one of the farms I keep bees on has 6 of my colonies and... 250,000 apple trees... The bees go insane for the 4 weeks of the apple blossom (assuming the weather's right), but then what? Monoculture blocks are a real problem for pollinators. As it happens, the farmer is very enlightened and she has planted several acres of clover round the hives and 14 hectares of wild flowers which last through the summer.