Spk [Commentary]: One must cut off (chinde) the five lower fetters (identity view, doubt, the distorted grasp of rules and vows, sensual desire, ill will). One must abandon (jahe) the five higher fetters (lust for form, lust for the formless, conceit, restlessness, ignorance). In order to cut off and abandon these fetters one must develop a further five (pañca cuttari bhāvaye), namely, the five spiritual faculties (faith, energy, mindfulness, concentration, wisdom). The five ties (pañcasaṅgā) are: lust, hatred, delusion, conceit, and views. A bhikkhu who has surmounted these five ties is called a crosser of the flood (oghatiṇṇo), that is, a crosser of the fourfold flood (see n. 1).
From Note 1 (to SN 1.1):
The word “flood” (ogha) is used metaphorically, but here with technical overtones, to designate a doctrinal set of four floods (see 45:171
https://suttacentral.net/sn45.171), so called, according to Spk, “because they keep beings submerged within the round of existence and do not allow them to rise up to higher states and to Nibbāna.” The four (with definitions from Spk) are: (i) the flood of sensuality (kāmogha) = desire and lust for the five cords of sensual pleasure (agreeable forms, sounds, etc.—see 45:176
https://suttacentral.net/sn45.176); (ii) the flood of existence (bhavogha) = desire and lust for form-sphere existence and formless-sphere existence and attachment to jhāna; (iii) theflood of views (diṭṭhogha) = the sixty-two views (DN I 12-38
https://suttacentral.net/dn1/en/bodhi); and (iv) the flood of ignorance (avijjogha) = lack of knowledge regarding the Four Noble Truths. Flood lack of knowledge regarding the Four Noble Truths. Flood imagery is also used at vv. 298-300, 511-13, and 848-49.
BB: Strangely, although the verses refer to the five ties as if they are a standard doctrinal set, no pentad of saṅgas can be found as such in the Nikāyas; the five saṅgas are mentioned at Vibh 377,16-18.