There are players who are U23 who aren’t in the first team, aren’t on loan and are worth keeping around. Granted very few of them these days.
I think anyone over 20 who isn’t attracting at least L2 level attention for a loan is probably worth moving on.