for someone (or something's) sake and for the sake of someone or something
for the purpose or benefit of someone or something; to satisfy the demands of someone or something. I made a meatless dinner for John's sake; he's a vegetarian. The teacher repeated the assignment for the sake of the slower students.