Depends on the kind of survival that you are thnking of. As mentioned, a gun is pretty worthless for most bushcraft skills, apart from taking game. However, the old adage of "Never take a knife to a gun fight" still holds. A knife may be better than nothing for combat, but it does not stand up well against a gun.
Hey siguy, shooting a gun is similar to shooting a picture. Align the view finder (sights) and push the button (trigger). Guns do more than kill. The modern small arm (pistol, shotgun, rifle) merely allows for the contained expansion of gases that are required to send a projectile down range. What that projectile does when it gets down range is the result (either direct or indirect) of the person behind the gun. Guns are used for sporting events like target pistol shoots, rifle shoots, skeet, trap, sporting clays. Guns are used to clean deposits from blast furnaces. A particle accelerator at its essence is a gun that fires atoms at each other. A taser is a gun that fires electrical probes in order to incapacitate the target, and in the VAST majority of cases the target is not permanently damaged or killed. In all of the mentioned cases, the effect of the projectile downrange is a result of the person firing the gun. It has been said, many times, many ways... "Guns don't kill people, people do."
There are many (if not most) politicians in your neck of the woods that would argue the utility of a knife for anything other than harming another. NY, CT, and MA were the first States to ban the switchblade knife due to its sole prupose as a deadly weapon (facts to the contrary).