South Carolina used slaves for the same reasons every other state used them for. It helped save them money,
For example, they have to pay someone for work but they used African Americans as slaves by forcing them into labor and not paying them. Resulting in saving of money
So it was important to South Carolina to help save money as well as pick cotton for other important uses.
It was unsuccessful because humans will always find a way to get something they want or need. Taking alcohol away doesn’t mean that it will stop them from getting it. Also the taxes that the government made off of alcohol was enormous so this loss of source of money for the government started to take affect.