They escape to the third house built with bricks, and the exhausted wolf ends up with no choice but to give up on the idea of devouring these pigs alive.
These characters each build a house with different materials, but the bad wolf blows the first two, made of straw and sticks, away. There is hardly anyone who has not heard or read the famous fairy tale Three Little Pigs at some point in their childhood.