Why is it difficult to stick to a good habit and easy to form a bad habit?

Good habits are difficult to stick to because we don’t get the results quickly, and we have not much patience to wait for good results. For example, we skip work out and opt for unhealthy habits because we don’t see the results or work out quickly. It makes us feel awkward, and we think there is no use in doing work out or sleeping early, or maybe eating healthy food.