Nahum 1:7–8 (MEV): The Lord is good, a stronghold in the day of distress; and He knows those who take refuge in Him. As a flood running forth, He will bring to an end the distress, and He will pursue His adversaries into darkness.
He knows those who take refuge in Him. If you’re worried that He might not know you, it is an easy thing to change. Take refugee in God right now. You can talk to Him. He’ll listen.
But… If you don’t take refuge in Him, then He doesn’t know you.
Matthew 7:23 (MEV): But then I will declare to them, ‘I never knew you. Depart from Me, you who practice evil.’
It’s really interesting that the practiced evil being done and counted here is rejecting Jesus!
If you’ve ever taken refuge in God, He couldn’t never know you. Do note the words Jesus uses. They are a comfort for those Who love Him, and a terror to those who offer lip service.
You can change your relationship with God. In fact, only you can do that.