Genesis 6:1-8 KJV says…
And it came to pass, when men began to multiply on the face of the earth, and daughters were born unto them,
2 That the sons of God saw the daughters of men that they were fair; and they took them wives of all which they chose.
3 And the Lord said, My spirit shall not always strive with man, for that he also is flesh: yet his days shall be an hundred and twenty years.
4 There were giants in the earth in those days; and also after that, when the sons of God came in unto the daughters of men, and they bare children to them, the same became mighty men which were of old, men of renown.
5 And God saw that the wickedness of man was great in the earth, and that every imagination of the thoughts of his heart was only evil continually.
6 And it repented the Lord that he had made man on the earth, and it grieved him at his heart.
7 And the Lord said, I will destroy man whom I have created from the face of the earth; both man, and beast, and the creeping thing, and the fowls of the air; for it repenteth me that I have made them.
8 But Noah found grace in the eyes of the Lord.