Pains And When in the WEB
2 verses of the World English Bible have both "pains" and "when".
1 Samuel 4:19 His daughter-in-law, Phinehas’ wife, was with child, near to giving birth. When she heard the news that God’s ark was taken and that her father-in-law and her husband were dead, she bowed herself and gave birth; for her pains came on her.
1 Thessalonians 5:3 For when they are saying, “Peace and safety,” then sudden destruction will come on them, like birth pains on a pregnant woman. Then they will in no way escape.