Yes indeed. I can't imagine what bad advice Trump was given, what stupid ideas he may have held, or possibly how Trump was threatened on this.
Assange, even if he said or did nothing in his freedom, would be a wedge to deflect the deep-state and also a badge of honor to Trump now facing the very similar lawfare.
It really was a huge mistake
Trump should have pardoned Assage but was threatened by those in his on party (ie McConnel). Trump was impeached anyway.