Limit between the psych and the molecles!

I’ve been wondering that if one day the man is able to discover how exactly the mecanism of thinking works what would be the consequences on our lives…
Immagine one day you’ ll be able to create thoughts and intelligence from electronic impulses how our world would be?
Should we hope that noone will ever discover where is the limit between the brain (made of molecles) and the soul?