If social services looked in on you, they could determine you already do “endanger your child”. It doesn’t take something as extreme as sailing around the world, it could be as simple as you “forcing” your child to pray before a meal. I don’t trust any government agency and neither should you.
My kids are grown, so it’s a moot point. But if they ever had come after me for having my kids pray, it would have been on!