20-21 After Noah sacrificed the clean animals for God, he planted a vineyard, made wine, got drunk, and lay naked in his tent.
The curse of Canaan
22 Ham, the father of Canaan, saw his father Noah naked, and told his brothers about it. 23 Ham's brothers, Shem and Japheth, took a garment and covered their naked father, walking backwards and not looking at his nakedness. 24 When Noah sobered up, he knew what his younger son had done to him. 25 And he said,
Cursed is Canaan. He will be a slave of slaves to his brothers.
26 Blessed be the God of Shem. Canaan shall be his slave.
27 God will enrich Japheth, who will live in Shem's tents, and Canaan will be his slave.
Noah's Drunkenness, c. 1896-1902, by James Jacques Joseph Tissot
A few more words about this episode
Here are some Bible verses about uncovering nakedness.
The nakedness of thy father's wife shalt thou not uncover: it is thy father's nakedness. Leviticus 18:7
Thou shalt not uncover the nakedness of thy brother's wife: it is thy brother's nakedness. Leviticus 18:16
The man that lieth with his father's wife hath uncovered his father's nakedness. Leviticus 20:11
If a man shall take his brother's wife, it is an unclean thing: he hath uncovered his brother's nakedness. Leviticus 20:21
Cursed be he that lieth with his father's wife; because he uncovereth his father's skirt. Deueronomy 27:20