Ustadh, my intention feels incorrect. I ask Allah for sincerity all the time , seek knowledge, then repent, but I fear my repentance isn’t accepted since I fall back into the sin. I fear dying with shirk in worship. Should I stop seeking knowledge I already stopped 2xbefore,due to the same problem.

Ustadh AbdulAziz al-Haqqan
This is like saying i am very sick and i need medicine shall I stop the medicine to get better? No you will get worse alot worse. Also you should urgently visit a trustworthy psychiatrist to see what u should do regarding waswas. May Allah protect us and u and give us and u the best in our deen dunya and the hereafter.