Jesus admonished the prostitute and told her to sin no more. He also told His followers to give to Caesar what is Caesar’s.
What’s your point?
He could not do that if He were not in company with them.