What does Exodus 30:12 mean?
When you count the Israelites, each person must pay a ransom for their life to the Lord, so that nothing bad happens to them during the census. Exodus 30:12 - Modern Text Bible
(God wants the people to recognize that their lives belong to Him, and the payment is a way of acknowledging that.)