Let no one say when he is tempted, “I am being tempted by God”; for God cannot be tempted by evil, and He Himself does not tempt anyone. But each one is tempted when he is carried away and enticed by his own lust. Then when lust has conceived, it gives birth to sin; and when sin is accomplished, it brings forth death. Do not be deceived, my beloved brethren. (James 1:13-16).
No temptation has overtaken you but such as is common to man; and God is faithful, who will not allow you to be tempted beyond what you are able, but with the temptation will provide the way of escape also, that you may be able to endure it. (1 Corinthians 10:13).
For we do not have a high priest who cannot sympathize with our weaknesses, but one who has been tempted in all things as we are, yet without sin. Let us therefore draw near with confidence to the throne of grace, that we may receive mercy and may find grace to help in time of need. (Hebrews 4:15-16).
See also 2 Pet 2:7-9, Luk 22:40,46.