Deuteronomy 14:24-25

24And if the way is too long for you, so that you are not able to carry the tithe, when the Lord your God blesses you, because athe place is too far from you, which the Lord your God chooses, to set his name there, 25then you shall turn it into money and bind up the money in your hand and go to the place that the Lord your God chooses
Copyright information for ESV