I need help

I need help with my adopted daughter.

I adopted my daughter when she was 4 years old when her parents, who were very good friends of mine, died in a car accident. I took charge of raising her and making her feel like she was family.

Everything was going well until a few weeks ago, she came to take a bath with me (it’s a custom between us since she arrived at my house, she always asks me) and she started asking me for hugs while we were showering and when I hugged her I felt how she lightly rubbed her abdomen against my penis, but I didn’t give it any importance until a few days ago she grabbed my penis and tried to kiss me, I subtly pushed her away and told her it was wrong, she ignored me and continued showering as if nothing happened, these last few days she has been provoking me by putting on short clothes or simply not putting anything on, she sits on my legs while we watch TV, sometimes I feel how she rubs against me very lightly.

3 days ago I checked her cell phone while she was going to run an errand at the store and I discovered that in her search history there are many porn sites and what she searches for the most are things like: “I fuck my daughter, I suck my stepfather” and things like that.

She is now 16 and I am 31. Sometimes I wonder what I did wrong? Was it a bad idea to give her a cell phone at that age?

I need help, should I sedate his desires or wait for him to pass? I am very undecided.