This is the foremost and greatest commandment.
Jesus replied, [Deut. 6:5] “‘You must love the Lord your God with all your heart, with all your soul and with all your mind.’
A second one, similar to it is [Lev. 19:18], ‘You must love your neighbor the same way that you love yourself.’
If you know these things, you will be happy if you practice them.