Pitching a tent is not difficult at all – especially with modern designs that have built-in features like snap-together poles. Like many things in life, it just needs a little bit of practice and preparation.
There are a few other things that can help here too, such as making sure you arrive at your campsite in time to pitch in daylight, and practising your setup at home so you’ve got a headstart on what to do (and checked that you’ve got all the right bits you need).