No; we should also pray when we are in trouble and danger, in which case we should express before God the things we stand in need of, in the hope that He may grant us what we ask of Him; also, when we have sinned; when, feeling the unworthiness of our conduct, and the ingratitude with which we have offended our great Benefactor, we should express our regret to God, and ask of Him to forgive us, because He is merciful, the sins we have committed.
"But if from there thou wilt seek the Lord thy God, thou shalt find Him, if thou seek Him with all thy heart and all thy soul." Deut. iv. 29.
"Seek ye the Lord while He may be found, call upon Him while He is near. Let the wicked forsake his way, and the unrighteous man his thoughts; and let him return unto the Lord and He will have mercy on him, and to our God, for He will pardon abundantly." Isa. lv. 6, 7.
"But in my distress I called upon the Lord, and cried unto my God, and he heard my voice from his temple, and my cry came before Him, into his ears." Ps. xviii. 6.
"With a loud voice I call unto the Lord, with a loud voice I make supplication unto the Lord. I pour out my complaint before Him, tell my trouble before Him. I cried unto Thee, O Lord! I said, Thou art my refuge, my portion in the land of life." Ibid. cxlii. 2, 3, 6.