Background
The temple tax
Background to Matthew 17:24–27
In the law each adult Israelite man was to give a half-shekel to the Lord as an offering toward the work of the tent of meeting (Exod 30:11–16). By Jesus' day this was gathered each year as a tax for the upkeep of the temple.
The collectors come to Peter in Capernaum and ask whether his teacher pays it (17:24). Peter says yes.
Jesus then uses a question about earthly kings. Kings' sons are free from taxes, so he, the Son, is free from the temple tax, since the temple is his Father's house (17:25–26).
Yet he chooses to pay so as not to give offense. The coin that Peter finds in the fish's mouth is enough to pay for the two of them (17:27). Jesus is free, and he gives up his freedom in love, a pattern Paul later urges on the church (1 Cor 8:9).
In Scripture
Matthew 17:24–27