Jesus didn't just command the evil spirit out of
the boy, but also commanded it to never enter
him again.

He didn't do that to every evil spirit that He
cast out of people. On one occasion He warned
the person who had been delivered if he didn't
walk with God, the evil spirit could come back
and bring seven more with him and his last state

would be worse than the first
Luke 11:24-26.