Genesis 9:20-25

20 Noah, a man of the soil, was the first to plant a vineyard.
21He drank some of the wine and became drunk, and he lay uncovered in his tent.
22And Ham, the father of Canaan, saw the nakedness of his father, and told his two brothers outside.
23Then Shem and Japheth took a garment, laid it on both their shoulders, and walked backwards and covered the nakedness of their father; their faces were turned away, and they did not see their fathers nakedness.
24When Noah awoke from his wine and knew what his youngest son had done to him,
25he said,Cursed be Canaan; lowest of slaves shall he be to his brothers.