A spongy deck almost always means the plywood underneath is wet through, and that is a repair rather than a patch job.
Take the boat out of the water and let it dry fully. Probe the wood with a screwdriver or knife — if it is soft, flaky or crumbling, it needs replacing. Check the stringers below the deck and the transom while you are there. Rotted stringers make the boat unsafe, and a wet transom turns a deck job into a much larger project.
Remove the old deck, in full or by splicing in a new section if the surrounding wood is sound. Pull out any flotation foam, which will be saturated if the deck has been leaking. If you find white fungus, kill it with antifreeze and wait a few weeks before sealing anything.
Seal both sides of the new plywood with polyester resin and hardener, using the same mix to glass in the stringers and the top surface. Fasten the deck to the stringers with stainless steel wood screws, then glass over it.
Boat owners have documented deck rebuilds in detail online, and those accounts are worth reading before you start — the order of operations matters more than the materials.