It’s not favoring a particular religion, and even non religious people (including for ex some radical feminists you may find) can unite against pornography propagation. It’s also not just about think of the children, but any society that cares for people will want to limit negative influences on the most vulnerable and those growing up who will become the future adults.