We all have random thoughts during the day. We also have dreams that we remember when we wake up.

When I say random thoughts, I mean thoughts that we have that just come to our mind without any forethought.

An example would be, lets say; a thought suddenly comes to your mind that you should go pay a friend, that you haven't seen in awhile, a visit.

Now we can have bad thoughts and good thoughts. Such as; having an unclean thought about a fellow employee or having a thought about evangelizing or comforting a fellow employee.

My question is this.

Are our random thoughts such as the ones I've describe, influenced at all by the Devil/our old or sinful nature and or by God/Holy Spirit?

Or are our random thoughts completely the natural product of our minds?