The word “ungodly” means not like God. A person and God isn’t on the same page. God would never be seen with such a one because they have nothing in common. The deeds of men build a wall between them and the Lord; for God is holy and He has told all who want to be with Him, to be holy as well. 1 Peter 1.15-16. Isaiah 59.1-2.
To give an example of what I say, consider these deeds, if you are a liar, you are ungodly. If you speak profanity and use the name of the Lord in vain, you are ungodly. If you practice premarital sex, adultery, homosexuality, you are ungodly.If you hate the word of God, you are ungodly. If you are a druggie, drunk, you are ungodly. etc.
If you want the Lord to accept you, then you need to obey Him. Men and God will never be on the same page as long as they refuse to submit themselves to what the word of the Lord commands. You have spent too much time away from the Lord, so make plans to obey the Lord. Do so before its too late. John 8:21.