In the Star Trek: Enterprise TV series, the Enterprise was almost destroyed by a Xindi attack in the Delphic Expanse. Its Warp drive was not working. Warp drive was very, very important at that time. Tucker said that he needed a warp coil to repair the warp drive, which was almost impossible to get in Delphic Expanse.
Suddenly, they picked up a distress signal from a ship of a local race trapped by spatial anomalies. Although Enterprise was in poor condition, it was still more powerful than that ship against anomalies. Enterprise saved them.
Archer told that ship's captain about their huge repository of Trellium-D, which was immune to anomalies. They agreed to make a trade for it. But, Archer asked for a warp coil in return, which the other ship's captain denied. Archer even begged, telling him about how billions of lives on Earth was at stake, but to no avail. The other ship's captain was concerned about his crew... Without warp drive, it would have taken at least three years to reach their home planet. Both ships detached and went their own ways.
Then, Archer came up with a new idea: Pursue and attack that ship to take the warp coil by force. But, it was a very tough decision for him to make. So, he called on Doctor Phlox and asked about length of his service period. Then, he asked: "And in all that time, did you ever do anything you thought was unethical?"
Which type of ethics was he asking the doctor about? Why a doctor in this matter? Is that whether he ever injected poison in his patients to harvest their organs for his own goods?
Doctor Phlox said, "Twice. Why?" And Archer didn't ask for more details. Why was Archer just seeking for numbers to take his actions? What if the doctor had said, "No"? Would he not attack that vessel to get the warp coil when Earth was more important than his ethics?