But having good conversations with your child and praying and encouraging them to choose the good, knowing they are some point children need to make their own decisions, wrong though they may be, when they are ready. I know it doesn't always work out, but I think that's the ideal and "the Plan"
Edit: One thing about all that is that it's possible she'll choose the good moreso if you respect her space and expect her to respect your beliefs and truths and identify that it's her agency. Less rebellious in that sense perhaps
For many, rebellion is a form of protecting their agency. I can say that for myself assuredly at least. Even when they'd rather choose the good and are more likely to do so under those circumstances
Easier said then done with all and any of that
Best of luck and wishes