Yes, carbon comes from Helium burning stars, specifically supergiants that have burnt away most of their hydrogen.
Carbon was created by God when He created the Earth before the stars.