Apparently there is a preamble to laws of cricket describing the "spirt of cricket"
Respect your captain, team-mates, opponents and the authority of the umpires.
Play hard and play fair.
Accept the umpire’s decision.
Create a positive atmosphere by your own conduct, and encourage others to do likewise.
Show self-discipline, even when things go against you.
Congratulate the opposition on their successes, and enjoy those of your own team.
https://www.lords.org/mcc/the-laws-of-cricket/preamble-to-the-laws-spirit-of-cricket