Captains And Whoever in the WEB
1 verses of the World English Bible have both "captains" and "whoever".
2 Chronicles 23:14 Jehoiada the priest brought out the captains of hundreds who were set over the army, and said to them, “Bring her out between the ranks; and whoever follows her, let him be slain with the sword.” For the priest said, “Don’t kill her in the LORD’s house.”
In other translations: Webster