Man launched 'shocking' attack on friend because he thought