On average, you have 78 years total to live. The first 18-25 are, hopefully, spent learning. This leaves you with between 53 and 60 years to produce something worthwhile. Spending 2 years doing something you don’t enjoy is 3.4% of the rest of your life. 3.7% if you get out of school when you’re 25. Hopefully. If you’re unlucky, it might be 10% or 20% or 50%.
What are you getting back for that two year investment?
That 3.4% to 3.7% of your life is non-refundable.
It better be worth it.