The Tanach, Jewish Publication Society tr. , at sacred-texts.com
1 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, whomsoever they chose. 3 And the LORD said: 'My spirit shall not abide in man for ever, for that he also is flesh; therefore shall his days be a hundred and twenty years.' 4 The Nephilim were in the earth in those days, and also after that, when the sons of God came in unto the daughters of men, and they bore children to them; the same were the mighty men that were of old, the men of renown.
5 And the LORD 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 blot out man whom I have created from the face of the earth; both man, and beast, and creeping thing, and fowl of the air; for it repenteth Me that I have made them.' 8 But Noah found grace in the eyes of the LORD.
9 These are the generations of Noah. Noah was in his generations a man righteous and whole-hearted; Noah walked with God. 10 And Noah begot three sons, Shem, Ham, and Japheth. 11 And the earth was corrupt before God, and the earth was filled with violence. 12 And God saw the earth, and, behold, it was corrupt; for all flesh had corrupted their way upon the earth.
13 And God said unto Noah: 'The end of all flesh is come before Me; for the earth is filled with violence through them; and, behold, I will destroy them with the earth. 14 Make thee an ark of gopher wood; with rooms shalt thou make the ark, and shalt pitch it within and without with pitch. 15 And this is how thou shalt make it: the length of the ark three hundred cubits, the breadth of it fifty cubits, and the height of it thirty cubits. 16 A light shalt thou make to the ark, p. 9 and to a cubit shalt thou finish it upward; and the door of the ark shalt thou set in the side thereof; with lower, second, and third stories shalt thou make it. 17 And I, behold, I do bring the flood of waters upon the earth, to destroy all flesh, wherein is the breath of life, from under heaven; every thing that is in the earth shall perish. 18 But I will establish My covenant with thee; and thou shalt come into the ark, thou, and thy sons, and thy wife, and thy sons’ wives with thee. 19 And of every living thing of all flesh, two of every sort shalt thou bring into the ark, to keep them alive with thee; they shall be male and female. 20 Of the fowl after their kind, and of the cattle after their kind, of every creeping thing of the ground after its kind, two of every sort shall come unto thee, to keep them alive. 21 And take thou unto thee of all food that is eaten, and gather it to thee; and it shall be for food for thee, and for them.' 22 Thus did Noah; according to all that God commanded him, so did he.