You may have to accept that you will not reach Kasparov's level...
Age and chess
I didnt talk about Kasparov's level, no one reached or can reach to that level imo. He was the best of the best. I am talking about getting merely top level. Acceptance is not solution, or at least it is not kind a solution i wanna hear about.

i dont remember the name but there was a guy that became GM when he was like 60 years old, if you study hard you can do it, maybe not like kasparov of course but its possible to be CM or FM

It's about perseverance. You have to go all through those frustrations. Continue learning. Maybe learn one opening a week and study its variations. Watch how GM's play openings. It takes lots of games to familiarize a specific kind of line and in that line you figure out the best moves. First, your mindset defeated you already thinking you could not make it. Be positive.

Very few make GM and even fewer make it after 40.....
Oldest grandmaster
Several players have been awarded honorary or retrospective grandmaster titles based on their past achievements. The oldest of these was Enrico Paoli, who was awarded the title in 1996 at the age of 88.
Apart from retrospective awards, a number of players have achieved the title by winning the World Senior Championship. The oldest player to gain the title in this way was Yuri Shabanov, who won the 2003 event and was awarded the title at the age of 66.

I even didnt pass 1800 official rating yet and i am 12 years away from the age kasparov retired. Which makes me feel depressed right now. Probably i wont even try 1/100 of how much it is possible but i want to have the believe that a possibility of reaching 2700+ remains even if it requires 7/24 hard work for entire life. Do you think after some age our brain is not enough for higher level chess ?