In all cases we should not lose the peace of our mind by any of our acts & should just be calm like an Ocean. Below is a good verse
Bhagavad Gita: Chapter Two Verse - 70
apuryamanam acala-pratistham
samudram apah pravisanti yadvat
tadvat kama yam pravisanti sarve
sa santim apnoti na kama-kami
samudram apah pravisanti yadvat
tadvat kama yam pravisanti sarve
sa santim apnoti na kama-kami
SYNONYMS
apuryamanam--always filled; acala-pratistham--steadily situated;samudram--the ocean; apah--water; pravisanti--enter; yadvat--as;tadvat--so; kamah--desires; yam--unto one; pravisanti--enter; sarve--all; sah--that person; santim--peace; apnoti--achieves; na--not; kama-kami--one who desires to fulfill desires.
TRANSLATION
A person who is not disturbed by the incessant flow of desires--that enter like rivers into the ocean which is ever being filled but is always still--can alone achieve peace, and not the man who strives to satisfy such desires.
So keep your desires in control & do not hanker after them. Never lose your calm in any of the circumstances and try to divert your energies in serving Lord Krishna.