I think you’re taking it too literally, the books have many statements that are contradictory. It’s about the general message. In general, the bible is very pro-children, it has passages where God literally tells people he made them in the womb himself. And funnily enough, modern highly Christian nations have these ideals, and takes them to extremes.
The Qur’an has a lot of violent punishment, which is then in a lot of cases moderated in modern Islamic countries. Saudi Arabia for example, may only cut off one hand for thievery, or none if the crime is light enough. It sets precedent and normalises these actions