This is something about which reasonable people can disagree. Here are some older threads about the role of slavery in the Revolution, which generally center around the New York Times Magazine's reporting in the 1619 project:
https://www.reddit.com/r/AskHistorians/comments/inonct/how_accurate_is_the_1619_project/
https://www.reddit.com/r/AskHistorians/comments/czl900/comment/ez03spg/
https://www.reddit.com/r/AskHistorians/comments/rrbtg1/thoughts_on_the_1619_project/
https://www.reddit.com/r/AskHistorians/comments/pqp4go/what_do_historians_think_of_the_1619_project/
I've also written about the run-up to the rebellion in Massachusetts (where slavery was not a major concern) before, here.