However, yes! 1 iron golem might be enough to defeat a troll in this scenario. But it won't work with 1 halfling – the troll will defeat him in the first turn.
Posts from Arrows in Heroes 2.
Auto-translated

Орден Феникса – харизматический :) лидер
be useful for anything? It seems that only in Forsaken Lands they are of some use. For example, you take a Necromancer, in a Knight's Castle, eat a chest to get at least +1 to Necromancy, level up archers, and give them to the Necromancer. Well, after their victory, it's a good
bonus to your pension. In general, Rangers are a very good army, especially
against slow infantry.
However, the solution has long been widely circulated.

Орден Феникса – харизматический :) лидер
We have our hero with a certain army (but what army? This is the core of the task, and there are several possibilities). He attacks someone. In addition to his existing army, he can bring one peasant with him. And this CAN significantly change the process and outcome of the battle. Besides the most obvious options, such as "he will retaliate, after which a hundred iron golems will strike without response" or "he will take the last life of an enemy unit," there is another answer... There are no mega-complexities in the task (like changing the turn order, etc.).

Орден Феникса – харизматический :) лидер