You understand the nature of secrets, even when they're difficult and inconvenient. If someone shares something with you, don't worry about giving advice: just listen. Be careful about your newfound knowledge: in this case, discretion is definitely the better part of valor. Keeping the faith will put someone important in your debt. Your integrity will open the door to more confessions: if you want them, that is.