These verses are grouped by theme as a starting point — not as standalone rulings. A verse takes on its full meaning only in context: the verses before and after, the occasion of revelation (asbāb al-nuzūl) and the explanation of the scholars. So read each verse in full via the tafsir, and consult a qualified scholar when in doubt.
شَهِدَ ٱللَّهُ أَنَّهُۥ لَآ إِلَٰهَ إِلَّا هُوَ وَٱلْمَلَٰٓئِكَةُ وَأُو۟لُوا۟ ٱلْعِلْمِ قَآئِمًۢا بِٱلْقِسْطِ ۚ لَآ إِلَٰهَ إِلَّا هُوَ ٱلْعَزِيزُ ٱلْحَكِيمُ
Allah Himself testifies there is no god but He.
وَإِلَٰهُكُمْ إِلَٰهٌۭ وَٰحِدٌۭ ۖ لَّآ إِلَٰهَ إِلَّا هُوَ ٱلرَّحْمَٰنُ ٱلرَّحِيمُ
One God, no deity but He — core of the shahāda.