Needed and
wanted are two different things. And different officers/officials wanted different things.
Some officers/officials wanted nothing to do with ground attack/army support planes as they though that such planes would take away from the "bomber campaign". Some officers/officials disagreed with them and some others may have flipped-flopped. Not wanting ground attack/army support planes in 1938/39 but wanting them in 1940 when the threat of German troops on British beaches was
thought to be high and then back to not wanting them ( or thinking that the job could be done by any old obsolete aircraft that were handy).
The Whirlwind got their big reprieve with the fitting of bomb racks in 1942 ( around a year after a squadron commander first suggested it)
because of a shortage of bomb capable Hurricanes
in Britain. At the time Hurricanes were being sent overseas (North Africa and Far East) leaving only TWO squadrons of Hurri-bombers in England and without replacements one of them might have to be stood down. The conversion of the two Whirlwind squadrons
doubled the number of fighter bomber squadron
at the time. These fighter bombers were being used as replacements for Blenheims in the "forward lean" policy. Germans were NOT coming up to fight 3-4 squadron strength sweeps of Spitfires so some sort of bomb carrying aircraft had to thrown into the mix. 2-6 bomb carrying aircraft were often escorted by 2-4
squadrons of Spitfires in an attempt to force the Germans to fight. Whirlwinds had a rather better chance of "escaping" after bombing than Blenheims
The Whirlwind vs Spitfire comparison isn't quite right either. I have no doubt it was made at the time but the
comparison should have been between the Whirlwind and the Hawker fighter (Tornaphoon/Typhado ?). They certainly
planned a four cannon Spitfire in 1940 and built
some four cannon MK Vs in the Spring/summer of 1941 but the numbers were few and apparently they were not well liked. The Spitfire does not become a
standard four cannon fighter until the end of the war with MK XXI and the 2nd generation (2 stage) Griffon engine. The Tornaphoon/Typhado being a much closer match in capability, weight and resources needed. The Hurricane could carry the guns but it no longer had the performance needed even with a engine one generation better than than the engines in the Whirlwind.
The men at the time were trying to make the best decisions they could with the information they had at the time. Unfortunately they were getting some of their information from some rather overconfident salesmen and at times were comparing planes trying to enter squadron service with planes that would not be available for a year or more.