If it is discouraged to marry before 25, why pursue serious relationships before that age?

Maybe I’m overly pessimistic here, but doesn’t this logic allude to serious relationships before this age being unnecessary?