Lack of strength in the upper body can be the reason you can’t do bodyweight exercises. You can start with increasing your upper body strength by doing push-ups and tricep push-ups before investing in a dip bar.