Confused (advice pls)

I will be 23 in few months, I just graduated from the university, I am willing to go for masters but I don’t have enough funds as I will need to make payment for initial deposit so I opted for option of another undergraduate study which will be flexible enough for me to work and study and no initial tuition payment. I am also scared of not getting married early, most of my mates are already getting married 😑, I am confused because undergraduate study is for 4 years.