Happiness means reassurance, and therefore, right thoughts generate reassurance.
The negation of reassurance is suffering, and therefore, right actions get out sufferings.
The negation of reassurance is suffering, and therefore, right actions get out sufferings.