I want to know, what did Paul mean when he wrote 1 Timothy 6:6?

There is great gain in godliness with contentment