Gain And When in the ASV
3 verses of the American Standard Version have both "gain" and "when".
Job 27:8 For what is the hope of the godless, though he get him gain, When God taketh away his soul?
Acts 16:19 But when her masters saw that the hope of their gain was gone, they laid hold on Paul and Silas, and dragged them into the marketplace before the rulers,
Acts 24:27 But when two years were fulfilled, Felix was succeeded by Porcius Festus; and desiring to gain favor with the Jews, Felix left Paul in bonds.