Do high school sports keep kids out of trouble?

We are having a debate between my husband and I about our upcoming freshman. I won’t say which side I’m on because I want unbiased opinions, but what has been your experience? Did sports help keep your kids out of trouble?