Fair and square

Generated image of a small child winning a chess game
Fair and square means something was done honestly, properly, and by the rules.

The phrase has been used in English for many years. The word square was often linked with ideas of fairness and honesty.

She won the game fair and square.