So now, O Israel, what does the LORD your God require of you? Only to fear the LORD your God, to walk in all his ways, to love him, to serve the LORD your God with all your heart and with all your soul, and to keep the commandments of the LORD your God and his decrees that I am commanding you today, for your own well-being. Although heaven and the heaven of heavens belong to the LORD your God, the earth with all that is in it, yet the LORD set his heart in love on your ancestors alone and chose you, their descendants after them, out of all the peoples, as it is today. Circumcise, then, the foreskin of your heart, and do not be stubborn any longer. For the LORD your God is God of gods and Lord of lords, the great God, mighty and awesome, who is not partial and takes no bribe, who executes justice for the orphan and the widow, and who loves the strangers, providing them food and clothing. You shall also love the stranger, for you were strangers in the land of Egypt. (Deuteronomy 10:12-19, NRSV)
What does God require?
Fear the Lord.
Walk in His ways.
Serve Him with all your heart and soul.
Keep the commandments.
And love the stranger.
So it is not enough to say you love God and walk in His ways if you hate the other. Because not doing one of the things God requires of you is like not doing them at all.
So walk with God and love the stranger, because God loves you!