The Mesilas Yesharim writes (Perek 19): “Hashem only loves those who love Yisroel. The more one increases his love for Yisroel, the more Hashem increases his love for him.”
He writes that the true shepherds of Klal Yisroel who are greatly desired by Hashem are those who sacrifice themselves for their flock and always seek ways to help them, who stand by them constantly and daven for them to have all brachos. This can be compared to a father who loves his son. When he sees someone else showing love and care for his son, he will automatically love that person.