Passage
does not rejoice at iniquity but rejoices with the truth,
does not rejoice at iniquity but rejoices with the truth,
1 Corinthians 13:4 Love has long patience, is kind; love is not emulous [of others]; love is not insolent and rash, is not puffed up,
1 Corinthians 13:5 does not behave in an unseemly manner, does not seek what is its own, is not quickly provoked, does not impute evil,
1 Corinthians 13:6 does not rejoice at iniquity but rejoices with the truth,
1 Corinthians 13:7 bears all things, believes all things, hopes all things, endures all things.
1 Corinthians 13:8 Love never fails; but whether prophecies, they shall be done away; or tongues, they shall cease; or knowledge, it shall be done away.
The verse centers on "does", "rejoice", "iniquity", "rejoices", and "truth". It is saying that the verse draws attention to "does" and "rejoice", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 5's "does not behave in an unseemly manner..." into verse 7's "bears all things believes all things hopes...", so "does" and "rejoice" belong inside that flow. In 1 Corinthians context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "does" and "rejoice" with trust shaped by these words, not by a vague optimism outside the passage.