James 1:13

13 No one, when tempted, should say, "I am being tempted by God"; for God cannot be tempted by evil and he himself tempts no one.

James 1:13 In-Context

11 For the sun rises with its scorching heat and withers the field; its flower falls, and its beauty perishes. It is the same way with the rich; in the midst of a busy life, they will wither away.
12 Blessed is anyone who endures temptation. Such a one has stood the test and will receive the crown of life that the Lord has promised to those who love him.
13 No one, when tempted, should say, "I am being tempted by God"; for God cannot be tempted by evil and he himself tempts no one.
14 But one is tempted by one's own desire, being lured and enticed by it;
15 then, when that desire has conceived, it gives birth to sin, and that sin, when it is fully grown, gives birth to death.
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.