Trying to predict the job market 10 years hence is a fruitless endeavor. There are people who will tell you they have the answers but they don't. Anything that can be predicted 10 years hence will essentially already be true and already factored in. No one also knows how the practice of the field itself will change (although, similarly, many will say they do know). And most particularly, nobody knows one fig about how reimbursement is going to change and how doctors are going to be compensated in a decade's time. Most people assume pay and reimbursement will go down and become more challenging to collect on, but apart from that there isn't much consensus as to how much or at what speed or in what way.
Investigate pathology on your own, find your passion. It might be pathology for you, it might not. It is terrifically hard to get a good grasp on this in med school, there just isn't enough time. You have to go with your gut at times and challenge yourself to make sure you are actually making the right decision. A lot of people don't figure it out until they are well into residency because they avoided the tough decisions until then.
Challenge yourself and find what you can do well and excel at. This will make finding a job, keeping a job, and being happy in life much easier. People pick careers for all kinds of reasons and if you pick it for the wrong reasons it will often come back to bite you because the things you don't like about it will tend to dominate your conscience. Surgeons who don't like the OR but think they can tolerate it because of the other parts of the job end up miserable. People who pick ER because of the lifestyle but aren't sure about the field and trauma and such burn out young. Nothing is a guarantee, of course.
The internet is a great place for doom and gloom - it's therapeutic for many to vent and to rant and to try to make others feel the pain they are feeling. You don't really know where the rants come from and what specifically motivates them, so you have to take everything with a grain of salt.
You have to also ask yourself what is important to you - do you want a 100% guarantee of a job wherever you want? Do you want higher pay? Do you want something that is unattainable?
There are a lot of people on this forum who will compare the worst of pathology to the best of other fields. Talk to people in other fields before you assume this pessimism is limited to other fields, because I can assure you it is not. It may take other forms but it is still there.
Medicine is undergoing a period of rapid and uncertain change. You can position yourself to take advantage of this by picking the right career for you, being knowledgeable about all aspects of the field you are in, keeping an open mind, working hard, and working well with others. The field you pick is essentially immaterial at that point because if you can do all of these things you will be valuable.