God uses the fifth commandment to protect us from selfishness, prevent us from only thinking about our needs, and to drive us to Christ and our neighbors.
Love is the sum of the law. Love God with all your heart, spirit, and mind, and love your neighbor as yourself. That means that if love can't be done when it needs to be done then get rid of the law, because it's not lawful.