I understand the point you were trying to get across. Many STIs have substantial stigma around them and it makes it harder to fight them.
I just want to caution you that making these forms of equivalences is a common tactic to derail and discount the impact of HIV or the experience of populations disproportionately harmed, in the same way that people derail discussions about the disproportionate killing of black people by police with statements like "why focus on black people? nobody should be killed by police."
I believe that you were not intending to do so, but I also hope that you understand and can be cognizant of that dynamic.