O. Henry's The Ransom of Red Chief contains no literal characters named Goliath or David. The kidnappers—Bill Driscoll and Sam Howard (the "giants")—abduct Johnny Dorset (Red Chief), a freckle-faced, red-haired ten-year-old who is physically unimposing but psychologically devastating.
The story inverts the biblical dynamic: Johnny (the "David") torments his captors (the "Goliaths") with relentless pranks, imaginary games, and sheer chaotic energy. Bill and Sam—grown men, criminals, physically dominant—become the victims, desperate to pay the boy's father to take him back.
Symbolically: Johnny is a "David" who defeats "Goliaths" not with a sling, but with cunning, endurance, and psychological warfare. The story satirizes kidnapping's absurdity and adult incompetence—not a biblical parallel. O. Henry's genius is making the "weak" party the true agent of chaos.