Work life balance is a feature of your job, not your degree. Your degree will not necessarily determine your job, and most graduates go into roles unrelated to their degree.
The first thing you need to determine is if you actually want to be a doctor. If not then there's no point considering medicine, regardless of job security. Equally if you do want to be a doctor, nothing else is going to allow you to become a doctor or do that job so accepting the working hours is part of what being a doctor is. However it's also worth bearing in mind not all specialties have the same working hours and some may simply be largely 9-5 (or 8-6) jobs with little or no out of hours requirements. And it's up to you to determine what you want to specialise in, and work life balance is a major consideration for doctors when considering their specialty areas as I understand.
Regarding chemistry, its also important to bear in mind if you enjoy chemistry and want to continue studying it, there's really no other degree that allows you to study chemistry in a substantive manner. So it's really your primary choice if you don't want to be a doctor but do want to continue studying chemistry.
However as above, your degree doesn't determine what job you do. While lab based roles with just a bachelors/MChem are probably going to be more limited in scope and lower paying, with a PhD and experience you may be able to live comfortably. Equally with just a bachelors/MChem you could just as well go into any generalist grad scheme in e.g. accountancy, the civil service, law and legal services (e.g. patent attorney work), other financial services, banking or management consulting, etc, etc. You have a lot of choice in determining how you want to balance salary vs work-life balance there. While most will be unrelated there may be scope in some to leverage your scientific background (e.g. in the civil service - which I gather struggles with recruiting for STEM related roles in general currently?).