Numbers 5:8

8 If the injured party has no next of kin to whom restitution may be made for the wrong, the restitution for wrong shall go to the Lord for the priest, in addition to the ram of atonement with which atonement is made for the guilty party.

Numbers 5:8 In-Context

6 Speak to the Israelites: When a man or a woman wrongs another, breaking faith with the Lord, that person incurs guilt
7 and shall confess the sin that has been committed. The person shall make full restitution for the wrong, adding one-fifth to it, and giving it to the one who was wronged.
8 If the injured party has no next of kin to whom restitution may be made for the wrong, the restitution for wrong shall go to the Lord for the priest, in addition to the ram of atonement with which atonement is made for the guilty party.
9 Among all the sacred donations of the Israelites, every gift that they bring to the priest shall be his.
10 The sacred donations of all are their own; whatever anyone gives to the priest shall be his.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.