If it's turning over and has spark, then check fuel system is actually getting something. Pump should prime the system as soon as you turn the key.
If you have fuel pressure in the rails, then get a
Noid Light to confirm the injectors are firing. Alternatively get a
cheap circuit tester from Halfrauds. In both cases you should see flashing light when the injectors are firing. Take all the spark plugs out while checking the injectors, so the engine turns easily, plus you then get loads of oil circulation.
If it's stood a few years the fuel might be crappy as well.