Cast And Whereby in the KJV
2 verses of the King James Version have both "cast" and "whereby".
1 Samuel 20:33 And Saul cast a javelin at him to smite him: whereby Jonathan knew that it was determined of his father to slay David.
Ezekiel 18:31 Cast away from you all your transgressions, whereby ye have transgressed; and make you a new heart and a new spirit: for why will ye die, O house of Israel?