You sure this is from a Gospel quote, and not just Jesus in fact quoting (or paraphrasing) from the OT? Or just one of the apostles or historians from another NT book...? Do you have a chapter & verse quote?
Jesus was very clever & careful not to say very much if anything at all on highly contentious topics, such as homosexuality, corporal/physical punishment or child discipline, women's rights, racial topics, etc. Hell, he even admonished his disciples to the point of "slaves obey your masters [with good grace]"!
In any case, he did also whip the Pharisees good & proper outside the temple, which they were using as a market stall area for profit; even though he did so in utter indignation & disgust & they well deserved it (according to their own rules in fact), one could argue that his intention, from a purely theological POV, wasn't to condone violence at all, rather to demonstrate its folly. Or it was simple justice, take yer pick. He certainly wasn't a pacifist - don't make that mistake.
Having said that, the AC you replied to is right on the money biblically, no pun intended, so I'm bemused he didn't use his real name/moniker. I guess this slashdot internet thingy makes it all too easy to post even wisdom anonymously, heh.