Green’s Dictionary of Slang

hill of beans, a phr.

also beans, row of beans, ...pins, hill of shit

an insignificant or useless thing, nothing; often in phr. not amount to a hill of beans.

Genesee Farmer (Rochester, NY) Apr. 124–5: Pear on the quince has never amounted to a hill of beans with us yet; it is doubtful whether they will, for the quince itself does poorly, and with the best care is short lived, although in some locations they are fine, but such are rare.
[US]F.H. Hart Sazerac Lying Club 63: That communication as was jest read by the Chair don’t amount to a hill of beans.
[US]W.K. Post Harvard Stories 276: You were a great deal better fellow when you were Lazy Jack and did n’t amount to a row of pins.
[US]N.Y. Times 17 Sept. n.p.: The letter of Buchanan suspending us doesn’t amount to a row of beans [DA].
[US]W.N. Harben Georgians 76: He didn’t amount to a hill of beans as a citizen.
[US]O. Johnson Varmint 310: I mean that there are some fellows here who are worth while and some who are not, [...] who don’t amount to a row of pins.
[UK]Wodehouse Psmith Journalist (1993) 204: They didn’t amount to a row of beans till Lawson started his ‘Frenzied Finance’ articles.
[US] in J.F. Dobie Rainbow in Morning (1965) 80: He does not amount to a hill of beans.
[UK]D.L. Sayers Nine Tailors (1984) 139: What I may have said and done, when I was ill, don’t matter a hill of beans.
[US]R. Chandler High Window 192: Skip it. I know. Marlowe knows everything – except how to make a decent living. It doesn’t amount to beans.
[US]Gordon & Kanin Adam’s Rib 83: You’re making a mountain out of something not even an ant hill—let alone a mole-hill—a hill of beans.
[US]K. Vonnegut ‘The Package’ in Bagombo Snuff Box (1999) 53: I don’t think the great Charley Freeman amounts to a hill of beans.
[US]S. Allen Bop Fables 55: I can see when it comes to cows you don’t know a hill of beans.
[US](con. WWII) J.O. Killens And Then We Heard The Thunder (1964) 313: It doesn’t amount to a hill of beans.
[US]P. Thomas Down These Mean Streets (1970) 120: Powerful stuff, that thar white skin, but it don’t mean a shit hill of beans alongside a Negro’s blood.
[US](con. 1940s) E. Thompson Tattoo (1977) 29: He don’t amount to a hill of beans.
[US]L.K. Truscott IV Dress Gray (1979) 425: None of it amounted to a hill of shit.
[US]G.V. Higgins Patriot Game (1985) 175: Treat him like something besides a hill of shit.
[US]S. King Dolores Claiborne 137: She didn’t have to recognize Jack Shit on a hill of beans if she didn’t want to.
[US]K. Vonnegut Bagombo Snuff Box 1: I didn’t think I would amount to a hill of beans.
[UK]M. Collins Keepers of Truth 168: It probably don’t mean a hill of beans in the end.
[UK]Guardian 6 July 11/5: Social media wouldn’t amount to a hill of beans without this feminist fourth wave.

In phrases

not worth a hill of beans (also not worth a row of pins, not worth beans)

worthless, useless.

[UK]G.J. Whyte-Melville General Bounce (1891) 181: Six weeks after my back was turned they weren’t worth a row of pins.
[US]‘Edmund Kirke’ My Southern Friends 80: I [...] karn’t take Preston’s note—’tain’t wuth a hill o’ beans.
[Aus]Bulletin (Sydney) 3 Sept. 40/1: I have tried to love the Australian dingo, but soon discovered that its friendship was never worth a hill of beans, no matter how much meat was on the floor.
[US]P. & T. Casey Gay-cat 264: That old bum ain’t worth a hill o’ beans nowadays; he’s soaked up too much whiskey in his time.
[US]Mezzrow & Wolfe Really the Blues 239: The race made me feel inferior, started me thinking that maybe I wasn’t worth beans as a musician.