I think it needs a slight reworking in any case: They worked hard only out of a sense of duty and without any support from the government. The conjunction makes it clearer and eliminates the worry about 'only' placement.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.