Hi everyone, know it's was asked many times, but I read most of them

So I just finished my bachelors degree in IT service management, and now going to be studying master's in Computing Science with Computer Security specialization in Europe.
Even though it's a good program, I know it's just a degree and most important thing is what you learn yourself. I have no idea what I
want to do as a job, but it's definitely related to IT. Now salary is something which is important for me even though I know you will say "you should do what you love", I don't know what I love, so I look into salary as well.
From what I've read, it's quite tricky in security field because to have good job with good salary you need ~10+ years experience, and by that time I am already old (of course I am exaggerating here but you get my point). After finishing my masters I would like to immediately get a job in related field, and if it's very hard in this field without experience then it's a big factor for me.
So how would you compare job position in security vs. software engineer or programmer. I guess programmer's salary probably will be better and finding a job will be much easier due to very big number of positions available. What are the benefits of working in security vs. programming apart from personal preference?
Thanks