I was thinking more of Agent Smith from The Matrix Revolutions.
Well Smith technically didn't say the whole line but I got your point. He was referring to his connection with Neo and which made their battle inevitable. He didn't mean it the way Thanos put it.