If loving God with all our heart and soul and might is the greatest commandment, then it follows that not loving Him that way is the greatest sin.