What did God intend as the purpose for minds and emotions?