A key facet of teachings of leaders of The Church of Jesus Christ of Latter-day Saints is based in prioritizing our lives so that the things that matter most get our time and energy. We are encouraged to build our relationship with God, and, as expressed here, build relationships with those we love and care about.
Another quote that illustrates this teaching is from M. Russell Ballard, who said:
In the Church, our belief in the overriding importance of families is rooted in restored doctrine. We know of the sanctity of families in both directions of our eternal existence. We know that before this life we lived with our Heavenly Father as part of His family, and we know that family relationships can endure beyond death…. What matters most is what lasts longest, and our families are for eternity. (What Matters Most is What Lasts the Longest