Ben Sira 18:23

23 But before you make such a promise, be prepared to keep it. Don't try to test the Lord's patience.

Ben Sira 18:23 In-Context

21 Humble yourself before you are punished with sickness. When you have sinned, show repentance.
22 If you make a promise to the Lord, keep it as soon as you can. Don't wait until you are about to die to set things straight.
23 But before you make such a promise, be prepared to keep it. Don't try to test the Lord's patience.
24 Think! Do you want him to be angry with you on the day you die? When you face his judgment, do you want him to turn his back on you?
25 When you have all you want, think what it is like to be hungry, what it is to be poor.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.