I remember growing up as a kid, doing my time in Sunday School, and getting this story pitched as "Wise King Solomon ferret's out the truth of maternity by determining which claimant truly cares about the life of the child".
It's kinda crazy how the story has permuted into "Two women fight over a thing and both agree splitting it in half is the fair solution."