The Punisher debuted fighting Spider-Man, but his destiny was always going to be more than that of just a mercenary villain. Marvel created Frank Castle to take advantage of the anti-hero craze sweeping pop culture in the 1970s. Castle is a former Marine and police officer who lost his family to mob violence. Since then, the Punisher has cut a bloody swath through the Marvel Universe, fighting everyone from mobsters to supervillains to superheroes.
Source:https://www.cbr.com/marvel-punisher-killer-pros-cons/