Exodus 30:11-16

11 Then the Lord said to Moses, 12 “Whenever you take a census of the people of Israel, each man who is counted must pay a ransom for himself to the Lord. Then no plague will strike the people as you count them. 13 Each person who is counted must give a small piece of silver as a sacred offering to the Lord. (This payment is half a shekel, based on the sanctuary shekel, which equals twenty gerahs.) 14 All who have reached their twentieth birthday must give this sacred offering to the Lord. 15 When this offering is given to the Lord to purify your lives, making you right with him, the rich must not give more than the specified amount, and the poor must not give less. 16 Receive this ransom money from the Israelites, and use it for the care of the Tabernacle. It will bring the Israelites to the Lord’s attention, and it will purify your lives.”