Joseph's initial action was profoundly pro-life.  He could have chosen to force Mary to drink the bitter herbs and then be stoned when she miscarried.  Instead, even without the dream, he let the child live.  Jesus followed this example when dealing with the woman caught in adultery.  Neither spoke out against the current law, but both followed a higher path with their examples.