Stay in or get out

I am in the navy and have about a year and a half left of my initial 6 year contract. I have had a pretty miserable experience and want to get out to pursue college but keep getting told that the benefits of staying in our way the downsides. I’ll only be 24 when I get out and feel I have a lot more I can do but I’m wondering if anyone has any advice.