Affairs are very avoidable. No one can come between two people who love and take good care of each other. So, choose your spouse wisely, then don't be selfish and lazy. Affairs happen when one or the other partner feels neglected in some significant way. Your advice to wake up each day asking how I can make my spouse happy to be alive and that he/she is married to me totally nails it.
Dale