From: Swahili, East Africa
Source: Swahili (East Africa) oral-tradition proverb (Adui aangukapo mnyanyue), Swahili Proverbs project, Department of African Studies, University of Illinois (swahiliproverbs.afrst.illinois.edu) — enemy entry. Read via a text-extraction proxy (r.jina.ai) since the site's own TLS certificate is expired; its "Application" line: "Helping an enemy in trouble may make a friend."
The source explains it: Helping an enemy in trouble may make a friend.
. The wording of the meaning is ours.