Eleazar
This is the name of a man.
to give to us an inheritance
"to give to us some land as an inheritance"
he gave those women an inheritance
Possible meanings are 1) "Joshua gave those women an inheritance" or 2) "Eleazar gave those women an inheritance."