If Luke went to the island to die why was there a map?
Maybe they suspected that Luke was looking for the First Jedi Temple, and the Church of the Force was the first group that actually figured out where that temple might be.
Luke need not be involved in the map’s creation.