Yes it is true.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1082157/pdf/medhist00104-0005.pdf
https://www.karger.com/Article/Abstract/441275
https://press.uchicago.edu/books/TheChild/Child_pages_1-10.pdf
worth of an infant is not an acceptance of infanticide.
Today in most cases infanticide is treated more leniently than death of an adult. not very different from then.
Of course the worth of human life was elevated in late Roman times on in western civ through the spread of Christianity.