The England international was in 2008 close to joining the Reds from Aston Villa, when then Anfield boss Rafa Benitez angered The Kop by attempting to sell Xabi Alonso to make room.
But Barry did not arrive at Liverpool and in 2009 eventually joined the revolution at Manchester City and is now a Premier League title challenger.
And ahead of Wednesday night's Carling Cup semi-final second leg on Merseyside, the 30-year-old has no regrets about snubbing the 18-time champions of England.
"I remember when the transfer saga was going on, I was watching a Liverpool friendly [against Lazio at Anfield] and the home fans were singing, 'you can stick your Gareth Barry up you're a***'," Barry said in the Daily Telegraph.
"I was at home, but I could just hear it vaguely. That might have got into my head a little bit.
"Liverpool were still interested when I decided to join City. I thought about it really hard, but the things the club were talking about, I felt City were on the up, whereas Liverpool were maybe finding it a bit tougher than City."
Barry arrived at City before Carlos Tevez and Emmanuel Adebayor and just after the club had failed in an attempt in signing Kaka.
"It wasn't an easy decision," he said. "I was signing on promises being made really and, in football, promises get made all the time.
"They can backfire and people can end up saying they made the wrong decision. But sitting here now, I think it has been a very good decision.
"Four years on, people say to me that I've made the right decision joining City. Obviously Liverpool is a fantastic club with a great following but I won the FA Cup last year and I've played in the Champions League this season."