We shouldn't need to justify taking time each moment of each day to thank God for all he has done and for who he is. But if we feel the need to justify everything we do, His righteousness should be enough.
Lord, thank you for choosing to have a relationship with me despite my lack of righteousness and Your righteousness.