Sorry, but some people are not answering your question.
THERE IS NO DEGREE THAT WILL MAKE IT MORE LIKELY THAT YOU WILL BECOME AN AIRLINE PILOT.
That is what you asked about. The advice you have been given is relating to
degrees that might be related to aviation. They will not give you a better chance of being an airline pilot. A degree of some sort might, for some people, give a higher chance of becoming an airline pilot. The subject of the degree is irrelevant. For a pilot even the institution makes little difference.
If you want to go to university then do a degree that you want to do. Give serious consideration to not going to university at all.