I can't think of many other situations in which (all else equal) a parent would choose to increase a child's risk of life-altering mistakes because reducing that risk would not reduce other risks as well. Don't tell Becky to brush her teeth; she might just fall down and break them out anyway.
Everyone's child is a special snowflake, but we know abstinence-only education is a failure at reducing unwanted pregnancy and STDs. What it doesn't fail at is increasing human misery by weaponizing moral choices about sex.
The original comment didn't encourage high risk behavior or say anything about ignoring the risk of STDs.
Personally I would preach Condoms over pills (although I freely acknowledge they can fail, and indeed suspect it's even more likely when teens are the ones using them).
Just like you can and should preach the value of abstinence and the consequences of sex to your teen while also teaching about safe(r) sex.