Cussing is a universal part of human language--pick a language, literally any language, and you'll find cuss words.
Chaucer and Shakespeare cussed--in writing, so I'll assume in person, too! Kerouac swore in On the Road. Capote dropped copious swears In Cold Blood. Pynchon dropped bombs in Gravity's Rainbow. Gabriel García Márquez swore in Spanish and English. Salinger wasn't a phony in Catcher in the Rye and Heeeeere's Stephen King in The Shining. Ulysses, Catch-22 and Slaughterhouse Five are all masterpieces of English Literature -- capital E, capital L, English Literature. They all contain the F word.
Can I poke the other side of this conversation: Characters who don't drop f-bombs for "publishing" reasons. Nothing sucks the life from a story faster than a supposedly gritty, raw character who doesn't cuss because it might offend a reader. The, Aw shucks, gunman/assassin/leatherneck/soldier in a war zone/bully/etc. is a laugh.
In high school we read a series of war novels (IIRC, Red Badge of Courage, The Thin Red Line and The Things They Carried) and the teacher was friends with/knew Tim O'Brien (author of, The Things They Carried, which is based on his experience in Vietnam). O'Brien came in and we got to talk about the book and ask questions and, being an all-male Catholic high school, someone asked about the swearing and O'Brien turned cold. Apparently an editor had suggested he remove some of the cuss words from the book and he asked why? Well, it might offend some readers and turn them off from reading. And O'Brien countered, And what would not including them do? Would it make the work feel authentic? Would it make it more real? Or would it cheapen and sanitize it? Would it create or strip the work of meaning?
I have no idea if O'Brien coined it or repeated it, but I remember him saying, Language is the currency of writers: you've got a budget, so spend wisely. Someone dropping cuss words every 2 sentences? Yawn. Someone using it to showcase a scene, emotion, feeling or character? Gimme.