This skips over the context of why people absolutely feared the idea of slaves gaining freedom after the Haitian Revolution.
The reason for that was the genocide carried out against non-black Haitians. [1] Even those people who actively opposed slavery, including children, were murdered. Americans feared that if slaves were freed, they'd all be raped and murdered as well
I'm not here to justify slavery or anything. But people 200 years ago didn't consider all races equal, and they were especially put off by the events that transpired in Haiti and wanted to actively prevent anything similar from happening in their own hometown.