When a person is getting closer to Allah swt will the shaytan come with thoughts? To get you away from Allah swt. I’ve been getting closer to my lord and the shaytan is always around trying to give me thoughts

Yes that’s when shaytan works the hardest to distract you. You have to be stronger and choose God over Satan.