Unfortunately HIV is not a solved problem.
Condoms? They break. More frequently than you might think.
Truvada and Descovy are great and make a big difference, but they require either high adherence to taking pills daily or being able to plan ahead for 2-1-1 (for same-sex relations - it's effectiveness for heterosexual intercourse hasn't been determined).
Apretude and Lenacapavir obviously require getting to a doctor or someone who can give you the injection either every other month or twice a year, is expensive, and can be very painful for some days afterward. And, of course, they're expensive.
A vaccine is the only real option for dealing with HIV for good.