Exodus 13:15

New International Version Bible (NIV)
When Pharaoh stubbornly refused to let us go, the Lord killed the firstborn of both people and animals in Egypt. This is why I sacrifice to the Lord the first male offspring of every womb and redeem each of my firstborn sons.’

Read Exodus 13:15 in other translations