As I said yesterday, @Rainbowdrops2021, I assume you trust your dd, and think you have brought her up with high standards of behaviour and self respect, and there will come a point where you will have to give her her independence, and then her upbringing will help her to make good decisions about who to be friends with, and what to do.
This is the approach we took with our three boys, and they did not let us - or themselves - down. They weren’t perfect, but they behaved well enough not to be a nuisance to other people or a danger to themselves and others. We trusted them, and the way we had brought them up, and it worked.
And making mistakes is an important part of learning - no-one is perfect, and when we make a mistake, hopefully we don’t make that mistake again. Your dd will need to learn the skills of self control, self determination and independence, and these will be lessons that you can’t teach her just in theory, or without letting her make her own decisions, in the fullness of time.
If she never gets to just hang out with her friends, even if that is just mooching around aimlessly, not doing anything productive, then when she does finally fly the nest, she might go completely off the rails - and she won’t have the knowledge and street smarts to make sensible decisions.
To give you an analogy, my mum was very controlling about food, especially treats, so when I left home and was earning my own money, I hadn’t learned how to control my own appetite, so I ate lots of the wrong things, and developed a very unhealthy relationship with food that still causes me major issues to this day. If my mum had loosened the reins a bit, I could have learned the skills I needed at a much earlier age, and might not be the overweight mess I am now. I’m not saying it’s the whole story, but it does demonstrate how, as parents, we need to gradually allow our children more independence, so they can learn life skills that we can’t teach them whilst keeping them close to our sides, under our strict control.