("And whoever holds fast to Allah") meaning: holds fast to the religion of Allah.
﴿وَمن يعتصم بِاللَّه﴾ أَي: يسْتَمْسك بدين الله