We can lie to our wife but ... only in three cases. Our beloved last holy prophet Muhammad (ﷺ) had said,
"It is not lawful to lie except in three cases: Something the man tells his wife to please her, to lie during war, and to lie in order to bring peace between the people." (Tirmidhi : 1939)
Our beloved Holy Prophet Muhammad (ﷺ) also said,
"One who brings peace between people is not a liar, he says something good, or reports something good." (Tirmidhi : 1938)