That may be, but I think the cultural 'take away' from this is that yet another child has been killed by the mother's 'boyfriend'.
The child was a bastard. Kids require resources. Wasting limited resources on someone else’s genes is detrimental to the new males genetic survival
Therefore the kid must die
That’s why marriage has evolved.