Paul and Barnabas were being regarded as gods among the people. The crown was setting out to offer sacrifices unto them.
Paul and Barnabas immediately put a stop to it. They proclaimed that the living God was the only one to be worshipped, and that they were men just like them. They went on to tell about God’s power.
They were living their life to glorify God, not to receive the glory that was due Him.