Задание

Change the sentence using the 'I wish' pattern.
It's a pity they didn't warn me then.