You can't control the past so there's not much point stressing out over it. Learn what you can from it and apply those learnings in the present where you can actually change things. If you feel you didn't do enough social things, maybe try joining clubs, being more proactive with organising things with your friends or something else that works for you.
Everyone's experience is different and it doesn't mean you did it wrong, you just focused on the things that made more sense to you at the time. Maybe you are realising you didn't value some other things enough and that's ok, you can bring those learnings forward.
Congrats on coming into your final year btw and good luck!