Yes using benzoyl peroxide is very good for treating and getting rid of acne.
The benzoyl peroxide is antimicrobial which helps to get rid of and reduce the amount of bacteria on your skin that causes acne.
So by reducing the amount of the acne causing bacteria you reduce your chances of getting future acne outbreaks when you regularly use the benzoyl peroxide for acne.
The benzoyl peroxide also helps keep the pores in your skin clear from blockages which is another cause of acne outbreaks.
I used to suffer from acne myself and still do somewhat but the regular use of the benzoyl peroxide has kept my skin pretty clear and has really reduced the amount of acne I experience.