Buddha teaching is preventing that view of self. That’s why we translate it as non-self. It’s not declaring that there is no soul. That’s the later debates of Buddhism vs Hinduism. Buddha trying to make your first realize that nothing belongs to you. Way to stay away from wrong view. Do not see this teaching as declaring no soul. It more about making your accept the reality in the beginning training and then in higher training you should also let go of that teaching.
Monks, I will teach you Dhamma —the Parable of the Raft—for crossing over, not for retaining. Listen to it, pay careful attention, and I will speak.”
“Yes, Lord,” these monks answered the Lord in assent.
“Monks, as a man going along a highway might see a great stretch of water, the hither bank dangerous and frightening, the further bank secure, not frightening, but if there were not a boat for crossing by or a bridge across for going from the not-beyond to the beyond, this might occur to him:
‘This is a great stretch of water, the hither bank dangerous and frightening, the further bank secure and not frightening, but there is not a boat for crossing by or a bridge across for going from the not-beyond to the beyond. Suppose that I, having collected grass, sticks, branches and foliage, and having tied a raft, depending on that raft, and striving with hands and feet, should cross over safely to the beyond?’
Then, monks, that man, having collected grass, sticks, branches and foliage, having tied a raft, depending on that raft and striving with his hands and feet, might cross over safely to the beyond. To him, crossed over, gone beyond, this might occur:
‘Now, this raft has been very useful to me. I, depending on this raft, and striving with my hands and feet, crossed over safely to the beyond. Suppose now that I, having put this raft on my head, or having lifted it on to my shoulder, should proceed as I desire?’
What do you think about this, monks? If that man does this, is he doing what should be done with that raft?”
“No, Lord.”
“What should that man do, monks, in order to do what should be done with that raft? In this case, monks, it might occur to that man who has crossed over, gone beyond:
‘Now, this raft has been very useful to me. Depending on this raft and striving with my hands and feet, I have crossed over safely to the beyond. Suppose now that I, having beached this raft on dry ground or having submerged it under the water, should proceed as I desire?’
In doing this, monks, that man would be doing what should be done with that raft. Even so, monks, is the Parable of the Raft Dhamma taught by me for crossing over, not for retaining. You, monks, by understanding the Parable of the Raft, should get rid even of (right) mental objects, all the more of wrong ones.
I don’t know how far you are in training but after awhile your mind itself will accept the truth that nothing is yours as fact. It seems that means you reached nirvana, but of course not. But there seems a acceptance of the fact that things are like Buddha said. That’s when his teaching of non-self is automatic to your mind. Then we need training in others factors to reach the end result.