2002 Toyota camry engine lighted flashed and car stopped on red light and didn't start, it is engaging when key turned on but doesn't start

I replaced all 4 spark plugs and replaced coils as it started failing. Now showing all 4 engine miss fire, I am hoping this is less expensive coils I bought it in Amazon… 4 coils for 50$. It started failing