If it has good spark, I suspect fuel blockage. I would disconnect the fuel line before the fuel filter and see if you can get a full quart to run out without stopping. If it continues to flow I would replace the filter and retest. If it will not run properly, I would be looking at cleaning and rebuilding the carb. If fuel doesn’t flow freely I would be checking for debris in the tank. If your unit has a fuel pump you’ll have to remove the fuel line at the carb and test it’s flow with an assistant cranking the engine over while you watch the output.