I ran across this joke in PASSIONS OF THE CUT SLEEVE, by Bret Hinsch, who took it from Howard Levy's CHINESE SEX JOKES IN TRADITIONAL TIMES.
A Taoist gentleman did the bedroom thing, taking off his clothes, folding his hands, and proclaiming, "It's not I like sex, but I do it to continue my ancestral line."