This is why Levi is worried I think.
https://themuslimvibe.com/faith-islam/why-is-the-number-786-symbolic-in-islam
The number 786 that many Muslims from the Sub-Continent use to signify “in the name of Allah, the ever merciful, the ever compassionate,” is derived from an ancient system of Arabic numerology called abjad. This system of numerology has a long history dating back to the Urgarty manuscripts 1500 years before the birth of Jesus (a). In this system each letter is assigned a certain number between 1 and 1000. For instance the alif is ascribed the number 1, the ya’ is ascribed the number 10, the qaaf is ascribed the number 100, and the ghayn is ascribed the number 1000.
The numbers related to the words are then added and one reaches a number signifying the word. For instance the Arabic word ‘Ali is: 70 (ayn) + 30 (lam) + 10 (ya) = 110. You can calculate the following numbers equaling 786 below:
There are a few traditions from the Imams (a) regarding the amjad system of numerology. For instance it has been reported that Imam Rida (a) said: “The first thing that Allah created for mankind to learn were the mu’jam letters.”
Levi I would say that it’s entirely up to you. If you feel uncomfortable about then don’t wear them. Over here some people won’t wear anything with 13 or 999 on them. But that is more of a superstition rather than a religious thing.
I can understand why you may feel uncomfortable with socks praising Allah.
But on the other hand maybe you could keep them, maybe even wear them and use them as an opportunity for evangelism. Use them to explain who the true God of mercy, love and compassion is.
God bless you Levi which ever you feel most comfortable doing. I think sometimes we over here in the West, don’t fully understand the pressures you may face.