я хотел сделать это для вас, но он предупредил меня — I wanted to do it for you but he anticipated / forestalled me, или got ahead of me
я хотел это сказать, но он предупредил меня — I was just going to say it, but he forestalled me; I was just going to say it, when he took the words out of my mouth идиом.