Here is a look at the xG stats for Man City vs West Ham on February 27, 2021. A rare example of City getting beaten on xG by a league opponent, but still winning the game!
xG shots map Manchester City 0.80-2.03 West Ham (Actual score MCFC 2-1 WHUFC)
1-0 Ruben Dias goal xG 0.40
1-1 Antonio goal xG 0.61
2-1 John Stones goal xG 0.08
Full time post match stats Man City 2-1 West Ham for comparison
Opponent has better xG than Man City in a game (despite having lesser possession), and lose.