Prophet muhammad (peace be upon him) described. The greatest struggle is to speak a true word in front of an unjust ruler (sunan al-nasai, sunan al- Trimidhi, and sunan- abi Daud,.)
By helping others, showing kindness, and being just we engage in the worship of Allah, just like we do when we pray of what it means to fulfil the purpose for which we were created.