Actually infant baptism has a much more interesting past.
The early churched princes believed that dying without having been baptised denied one entrance to heaven. Rather than chance they might fall out of the saddle and hit their heads fatally on a rock prematurely, they opted for infant baptism.
This led to another problem, though. Sins, they believed, committed after one was baptised were mortal, sending them to hell.
Damned, literally, if you do and if you don't, they conjured up Limbo. Now, the post-baptismal sins could be worked off, giving infant baptism the go-ahead while still living the good life. Jesus could not be reached for comment.
Interesting! Thanks.