in niven's "known space" universe that was known as the "kzinti lesson"; the kzinti
were a warlike race that thought humanity would be easy pickings because their telepathic spies said they had a civilisation completely at peace. turns out humanity figured out really fast that their mining lasers, fusion drives, etc could be used as weapons when the hostiles showed up.