Genesis 47:29

29 And the time drew nigh that Israel must die, and he called his son Joseph and said unto him, "If now I have found grace in thy sight, put, I pray thee, thy hand under my thigh, and deal kindly and truly with me: bury me not, I pray thee, in Egypt.