Joshua challenges the Israelites to choose whether they will serve the LORD or other gods. Moses refused to be called the son of Pharaoh's daughter and instead chose to endure ill-treatment with the people of God. The passage contrasts following the flesh versus following the Spirit, stating that those who practice deeds of the flesh will not inherit the kingdom of God.