Every thing that openeth the matrix in all flesh, which they bring unto the Lord, whether it be of men or beasts, shall be thine: nevertheless the firstborn of man shalt thou surely redeem, and the firstling of unclean beasts shalt thou redeem.
Psalm 106:21-23 King James Version (KJV)
21 They forgat God their saviour, which had done great things in Egypt;
22 Wondrous works in the land of Ham, and terrible things by the Red sea.
23 Therefore he said that he would destroy them, had not Moses his chosen stood before him in the breach, to turn away his wrath, lest he should destroy them.