Exodus 34:20

The firstborn of a donkey, you shall redeem with a sheep. But if you will not give a price for it, it shall be slain. The firstborn of your sons you shall redeem. You shall not appear empty in my sight

Other versions

King James Version

But the firstling of an ass thou shalt redeem with a lamb: and if thou redeem him not, then shalt thou break his neck. All the firstborn of thy sons thou shalt redeem. And none shall appear before me empty.

English Standard Version

The firstborn of a donkey you shall redeem with a lamb, or if you will not redeem it you shall break its neck. All the firstborn of your sons you shall redeem. And none shall appear before me empty-handed.

New International Version

Redeem the firstborn donkey with a lamb, but if you do not redeem it, break its neck. Redeem all your firstborn sons. "No one is to appear before me empty-handed.