The Old Testament says Jews should do the same.
“The Old Testament says Jews should do the same.”
Not exactly, no.
First the Old Testament is but one portion of the Law, and must be informed by the Oral Law, especially in relation to such issues.
Second, these were ultimate and most extreme punishments possible, after in-numerous interventions, steps, and lesser punishments for 99.9999% of all cases.