We live in a world where more and more jobs are desk based.
Sitting goes against how we evolved as humans.
Keeping it to a minimum is proven to have the best effect on back pain when compared with sitting with good posture.
However, sitting with good posture takes away huge amounts of pressure from the joints in the lower back and neck therefore it can reduce pain when sitting.
So you may as well make sure you sit correctly!