That's an interesting question because inflation drives up some government spending, notably spending that is indexed to inflation, for example the old age security and the guaranteed income supplement, which are indexed to inflation. From that perspective, government spending has increased due to inflation. However, if my memory serves me well, federal funding for housing is voted on each year and is program funding that has to be approved by Parliament. This is not automatically indexed, so when inflation rises, the funding, if it remains stable, loses some of its real value as inflation progressively erodes some of the funding that's spent on housing.
On May 8th, 2023. See this statement in context.