Socialism and capitalism were invented by people. These are far from ideal social systems. At the same time, everything moves and develops. We really will not return to the society in which we lived earlier. Now the edges of capitalism and socialism are being erased, we are moving towards the creation of a society that is not in the textbooks. Perhaps we do not need any political superstructure. We will simply develop, observing universal human values.
We can take it from the right and pull from the left and then combine the positive points of both of course by adjusting the timing and the problem. There is no pure socialist state and no pure capitalist country now.
In addition to knowledge, there is one system that is considered to be able to combine the two main points of socialist and capitalist teachings namely the Islamic economic system whose core teachings are all centered on the creator of matter, not the goal but only a tool to lead to the creator. In Islamic economics there is no prohibition on being a capitalist, it's just that the more wealth owned, the greater the obligation of zakat (must be done and sinful if not carried out implemented) that must be distributed to others in need. Besides that in the Islamic economy, there is also a suggestion to share (if not done is not sinful, if done is rewarded)
If in the capitalist and socialist laborers are exploited in the teachings of Islam the worker is close to God, his wages must be paid immediately before his sweat dries. In addition, resources related to the lives of many people are controlled by the state to be used for the benefit of all humans, because the natural wealth belongs to God not to be owned by a group of people.