They are synonyms, that's why some bibles translate it love and others charity.
here are other synonyms of Charity.
4 show a bit of charity to those less fortunate than you: goodwill, compassion, consideration, concern, kindness, kindliness, kind-heartedness, tenderness, tender-heartedness, warm-heartedness, brotherly love, love, sympathy, understanding, fellow feeling, thoughtfulness, indulgence, tolerance, liberality, decency, nobility, graciousness, lenience, leniency; literary bounty, bounteousness; rare caritas. ANTONYMS meanness
here are other synonyms of Charity.
4 show a bit of charity to those less fortunate than you: goodwill, compassion, consideration, concern, kindness, kindliness, kind-heartedness, tenderness, tender-heartedness, warm-heartedness, brotherly love, love, sympathy, understanding, fellow feeling, thoughtfulness, indulgence, tolerance, liberality, decency, nobility, graciousness, lenience, leniency; literary bounty, bounteousness; rare caritas. ANTONYMS meanness