A Freemason is encouraged to do his duty first to his God (by whatever name he is known) through his faith and religious practice; and then, without detriment to his family and those dependent on him, to his neighbour through charity and service.
None of these ideas is exclusively Masonic, but all should be universally acceptable. Freemasons are expected to follow them.