I've come to the realization that you shouldn't kid yourself. Most companies have literally zero loyalty to you these days. Especially mega-wealthy international companies. Their only loyalty is quarterly earnings, profits, and shareholder value. So they should not expect loyalty from you either.
Do your job, do it well, do your job with pride and strive to move up and make more money. But do realize that the moment it becomes financially reasonable for a company to get rid of you, they will. Or they'll replace you with someone else that they'll pay less for.
So have loyalty for your family, have loyalty for your good friends, and have loyalty to yourself to fight for your personal time to spend with them away from the job that will not give that back in return.
Fighting for your personal time may be looking for a different job, switching careers, creating a union at your company, and voting for people who truly support worker rights to be on your side.
None of that is easy or fast to do, but you'll never get lost time with your family and friends while a company will replace you quickly and without a two weeks notice.