The Prophet ﷺ said: “When a man says something then looks around, it is a trust (to be kept).” (Abū Dāwūd & Tirmidhī — ḥasan). And among the worst of people is a spouse who spreads the private secrets shared between them. (Muslim).
العربية: عن جابر رضي الله عنهما عن النبيّ ﷺ قال: «إذا حدّث الرجلُ الحديثَ ثم التفت فهي أمانة». (الترمذي وأبو داود).
What is shared with you in confidence is an amānah — never repeat it.