Buying dresses a good idea?

I don’t want to waste money on a whole bunch of maternity clothes so I bought dresses I can wearing during and after pregnancy. Is this a good idea? I have no idea it’s my first baby 😢