Exodus 13:19

Moses took the bones of Joseph with him because Joseph had made the sons of Israel swear a solemn oath when he said, “God will surely attend to you, and then you must carry my bones with you from this place.”

Note Genesis 50:25

BSB · Berean Standard Bible
And Moses took the bones of Joseph with him: for he had straitly sworn the children of Israel, saying, God will surely visit you; and ye shall carry up my bones away hence with you.
KJV · King James Version
Moses took the bones of Joseph with him, for he had made the children of Israel swear, saying, “God will surely visit you, and you shall carry up my bones away from here with you.”
WEB · World English Bible
And Moses took the bones of Joseph with him: for he had straitly sworn the children of Israel, saying, God will surely visit you; and ye shall carry up my bones away hence with you.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

for he had
Genesis 50:24, 25; Joshua 24:32; Acts 7:16
God
Exodus 4:31; Genesis 48:21; Luke 1:58; Luke 7:16