Auto-translated
I struggled with it for three evenings, replaying until I realized that I just needed to hire alternative heroes (3) and position them: 1 - next to gate 5 (from left to right), one between gates 3 and 4, and one between gates 1 and 2. They should all stand in the middle between the gates, within a distance of less than one turn. Practice shows that the Necropolis units, even if they capture the posts, don't go deeper, and even if they just captured a post, you can safely go and capture it - they don't leave their own units there, and an empty post can be captured even with just one Fairy.)))
I ran around in circles with Fedor, visiting the upgrade locations, and received a map from the cartographer - by defeating the Liches (Archliches) on the far right, we get a key and go to the cartographer. It's convenient because you can see when Beare is coming for you.
It's noteworthy that Beare doesn't care about other heroes at all - she runs directly towards the castle. You need to put a hero there, buy everyone, and just sit. He destroyed her so quickly that I was even disappointed - I spent so much time on what was essentially an easy mission...