Actually the Bible didn't choose those two words... Profit in Latin is lucrum and prophet is propheta
I don't know Hebrew or Greek, but they would have similar differences between the two words.
it's only in English that the two sound similar