One of the purposes behind sending divine Messengers has been the teaching of moral values. This is because the ultimate goal of all the prophets has been the moral training of mankind in a way that they would observe moral values in all arenas of their lives.