Sefer Chasidim Siman 1108
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
אדם שיעץ לאחרים ונכשלו באותה עצה אע"פ שלשם שמים נתכוין אם יאמרו לפי ששמענו לעצתך נכשלנו אל ימחה ואל יצטער כדי שיתכפר לו קצת שעל ידו בא להם ומגלגלין זכות על ידי זכאי וחובה על ידי חייב: