This is not actually the case, it is better to erase then defrag. Defraging first results in files getting moved around and as a result the free disk space wipe can potentially miss parts of files. Erasing first means that you ensure that all deleted files get over written securely.
For the paranoid++ people, it'd be worth doing, an erase followed by a defrag followed by another erase