Our Tanach teaches how to behave in an exemplary fashion. King David taught us how to admit when we are wrong. He did this when Natan the Prophet showed him his error with Bat Sheva.
Yehuda was also shown in an indirect way how he was responsible for Tamar’s pregnancy. He answered with the words, ״צדקה ממני״ that she is more righteous than me.
Tamar risked her life and was willing to be thrown into a fiery furnace, rather than embarrass Yehuda.
And perhaps the most noble act of all was the loyalty Rachel showed her sister, Leah. She gave up marrying the man she loved, instead of seeing her sister humiliated. Had she revealed Lavan’s trickery, Leah would have been a laughing stock and probably would not have been one of the matriarchs.
We must learn to emulate these noble acts mentioned in Tanach.