Old Testament

Leviticus 21:7, 13-15
7They shall not marry a woman who has been a prostitute or is defiled. Neither shall they marry a woman divorced from her husband, for each priest is holy to his God.
13The high priest shall marry a woman who is a virgin. 14A widow or a divorcee or a woman defiled because of prostitution—these he shall not marry. Instead, he shall take a virgin from his own people as a wife, 15so that he does not defile his offspring among his people, for I am the Lord, who sets him apart as holy.