Disclosed herein are naphthamide and quinoline carboxamide compounds containing two bicyclic moieties, pharmaceutical compositions comprising those compounds and methods of using the compositions in the treatment of cancers mediated by cyclic-AMP (cAMP) response element binding protein (CREB). The disclosed compositions have utility in the treatment of lung, prostate and breast cancers in a human subject.