It is striking that Matthew 21:17 does not state that Jesus left the temple, but rather that he left them.
It is then also after having left them
that he leaves the city of Jerusalem for Bethany and lodged there overnight1. The people specifically referred to here are the leaders of the people, to whom Jesus henceforth would no longer show any mercy.2
17 Et, les ayant laissés, il sortit de la ville pour aller à Béthanie, où il passa la nuit.