I know mine isnt a 172, but this was my problem.
Took head off for skimming and put head back on, pushed belt back on, started engine, and timing was off and the engine was dying.
Took engine mounts on the cambelt side off. Adjusted the belt to be TDC on the flywheel and the crankshaft. Built back up the engine and fired up car again, still was firing on three cylinders. Took injectors off, replaced them, replaced coil pack, replaced sparks, replaced ht leads.
Then took rocker cover off and checked the tapets again, found out that one exhaust tapet was constantly closed. Whipped in feeler gauge and adjusted tapets.
Put rocker cover back on and it fired first time.
In fairness should have checked the tapets when the head was off. Doh.