Jesus said this to emphasize the words "You are right in saying, 'I have no husband'" in verse 17. He wanted the woman to know that he knew she was telling the truth.