Open Question: What is more important job stability and satisfaction or family?

I have my dream job which i really like. Only thing is i am away from my wife and kids 5 days a week. I have received a job close to my family. The work wont be as interesting and might be less stable but will be happier outside of work when i with my family. What do you think is best thing to do?