Genesis 47:29

47:29 The time for Israel to die approached, so he called for his son Joseph and said to him, “If now I have found favor in your sight, put your hand under my thigh and show me kindness and faithfulness. Do not bury me in Egypt,

Joshua 2:14

2:14 The men said to her, “If you die, may we die too! If you do not report what we’ve been up to, then, when the Lord hands the land over to us, we will show unswerving allegiance to you.”