Sirach 15:11Ben Sira, Ecclesiasticus
10 For in wisdom must praise be uttered, and the Lord will make it prosper. 11 Do not say, "It was the Lord's doing that I fell away"; for he does not do what he hates. 12 Do not say, "It was he who led me astray"; for he has no need of the sinful. 13 The Lord hates all abominations; such things are not loved by those who fear him. 14 It was he who created humankind in the beginning, and he left them in the power of their own free choice. 15 If you choose, you can keep the commandments, and to act faithfully is a matter of your own choice. 16 He has placed before you fire and water; stretch out your hand for whichever you choose.
12 Happy is the one who endures testing because when he has proven to be genuine, he will receive the crown of life that God promised to those who love him. 13 Let no one say when he is tempted, “I am tempted by God,” for God cannot be tempted by evil, and he himself tempts no one. 14 But each one is tempted when he is lured and enticed by his own desires. 15 Then when desire conceives, it gives birth to sin, and when sin is full grown, it gives birth to death. 16 Do not be led astray, my dear brothers and sisters. 17 All generous giving and every perfect gift is from above, coming down from the Father of lights, with whom there is no variation or the slightest hint of change. 18 By his sovereign plan he gave us birth through the message of truth, that we would be a kind of firstfruits of all he created.
Notes and References
"... The Letter of James owes much to the Wisdom of Sirach. Both repudiate the idea that God ever tempts anyone or leads him astray (James 1:13; compare Sirach 15:11,12). The third chapter of James, especially, shows the writer's familiarity with Sirach's Wisdom, indeed it speaks of Wisdom, good or bad, three times in the last paragraph ..."
Goodspeed, James W. The Story of the Apocrypha (p. 126) University of Chicago Press, 1940