Green’s Dictionary of Slang

not worth a good goddam phr.

also not worth a good God-damn, ....good gosh-damn

[1910s+] (US) absolutely worthless; thus occas. antonym worth a good goddam, worthwhile, valuable; see also under worth a... phr.