This is false.
This might be true in the case of solar energy (if there is not enough sun, there won't be a lot of energy that can be obtained from it), but it's less true in the case of for example hydraulic energy - most rivers flow both in good and bad weather (except if the bad weather is drought).