Verses with the word bastard in the Old Testament (2 verses):

Deuteronomy 23:2
A bastard shall not enter into the congregation of the LORD; even to his tenth generation shall he not enter into the congregation of the LORD.

Zechariah 9:6
And a bastard shall dwell in Ashdod, and I will cut off the pride of the Philistines.