This is simplifying what happened. Dessalines went after the French, and anyone who had aided in Haitian slavery.
There were exceptions, the famous exception being the Polish. They were brought over as mercenaries but after seeing what the French were doing, they went over to the Haitian cause...