A process for the production of a higher hydrocarbon useful as gasoline component from solid biomass is provided. The process provides for longer ZSM-5 condensation catalyst life by contacting the stable oxygenated hydrocarbon intermediate containing diols produced from digestion and hydrodoxygenation of the solid biomass to an amorphous silica alumina catalyst to reduce the diols content, and optionally removing water, prior to contacting with the ZSM-5 condensation catalyst.