If you’re not an engineering or accounting or CS major, what gets you an interview is your resume, where your major takes up one single line on the entire page. What else is on your resume? What jobs have you held? internships? ECs? A history degree tells a prospective employer that you have above average skills in writing, research and analysis – and many employers value those skills.
History is not a worthless degree. Neither is art history or women’s studies or philosophy. But you have to fill your resume with other compelling information that makes you attractive to employers.