No child shall be received into the asylum, or detained in the asylum, except that the welfare of the child may be thereby promoted, nor shall any child be indentured or given in adoption, except that the best interest of the child shall be thereby secured.