Historically, in a time where acts of god and god’s will were the primary - or even only - way of explaining Nature, life, and death, baptising infants was a way to ensure that the baby would be accepted by that Jebus God character in case it should die before coming to age (which was quite normal only one or two centuries ago). Normally, a priest would baptise the infants in church, but if the newborn baby in question was in danger of dying before that, regular people could perform an “emergency baptism”, in order to save it from ending up in hell. So given those premises, regular people in rural areas had to do the sensible thing and obey, or risk ending up as outcasts, or even killed.
But modern versions of infant baptisms are different. At least here, in a mostly (>50%) secular society that has emerged from a Nordic lutheran society. Nowadays, t’s more of a tradition that makes people leave the church with a fuzzy warm feeling. Or because they don’t want to disappoint or anger their parents or grandparents. Even some non-believers baptise their children for this reason. In any case, parents that are religious enough will take baptism seriously and indoctrinate their children with religion, while secular ones will not.
Today, around half of newborns here are being baptised. And the percentage is decreasing. As you can infer from the above, some of the baptisms are strictly for tradition, without the parents actually caring about raising/indoctrinating their children according to the lutheran faith.
In short: Among devoted christians, baptism actually means something. Among the secularised, and those who do it for tradition and/or according to the wishes/insistence of parents, grandparents, etc., it’s more or less meaningless.