Correction - a fossil is simply something you dig up. May have been alive once, but that isn't necessary to be able to call it a fossil. Current usage of the word implies that it was something that was alive and got buried one way or another and was recovered by digging it up, but since you mostly do need to make a hole in the ground to access coal, oil, and gas, fair enough to call it a fossil. It may have nothing to do with being a result of something once alive, since various planets/moons/asteroids have hydrocarbons too.
Note though that in some places we get tar seeps, naphtha seeps, Methane leaks, and of course sea coal found as black rocks and pebbles on the beach (notably in Newcastle, UK, where we were clearly burning coal long before we started mining the stuff). Those wouldn't be fossil fuels, even though you might find preserved lifeforms in the coal and we've certainly found them in the tar seeps (La Brea).
They're still likely limited and will gradually get harder to mine and to find new supplies. We do need to develop alternatives, but we have a few decades for gas/oil and centuries for coal, and I'm sure we can get those replacements for them long before we absolutely have to.