No, this is a flawed thinking in many levels.
Salaries take months, if not a full year to follow inflation. A salary is always behind the curve and devalued.
Besides, employees frequently fail to secure inflation adjustment to their salaries, especially in blue collar trades, where an individual worker is easier to replace.
Even when salaries are adjusted, it follows an average rate determined (more appropriate to say manipulated) by the same government which created the inflation.
Most likely the rate of inflation for your family's consumption basket is significantly higher than this "official" index.