The psalmist speaks as though the person who had rebuked and taunted him were there listening to him.
"myself. You were my companion and my close friend"