The first four commandments tell us how to relate to God. We need to be in right relationship to God in order to relate well to others.