Can chili cause pimples?

No. Acne is only marginally related to diet and not at all to hygiene or lifestyle. If topical benzoyl peroxide as tolerated has not cleared you in two weeks, get with your personal physician. Acne can't be cured but will eventually remit on its own. Until then, you must manage it as a chronic illness.