Steve Rogers is giving his all in that moment, and he has always shown an ability to punch above his weight and ‘do this all day’, but that does not account for what happens in this moment in Infinity War. Instead, holding back Thanos is more the result of Thanos not going all out than Cap being any sort of physical match for him.